Commit Graph
83 Commits
Author SHA1 Message Date
Vibhav Pant 3e4cffccf8 Use the correct syslog identifier. 2023-08-29 18:06:14 +05:30
Vibhav Pant e4786e4cc9 Print: Avoid memory leaks. 2023-08-29 18:01:46 +05:30
Vibhav Pant f0a12c40a0 Add ble_medium.h, ble_v2_medium.h. 2023-08-29 17:01:35 +05:30
Vibhav Pant 78c1714e8e ServiceBrowser: Ignore local services. 2023-08-29 16:46:24 +05:30
Vibhav Pant bbde0a5859 Remove discovery_cb_lock_, as it can cause deadlocks. 2023-08-29 16:36:50 +05:30
Vibhav Pant d17c49deae Pass the correct flags to ResolveService. 2023-08-29 16:36:33 +05:30
Vibhav Pant 6b4c8446bc Provide Avahi Server object to ServiceBrowser objects. 2023-08-29 16:14:33 +05:30
Vibhav Pant adb1e1d235 Separate BluetoothAdapter into Adapter and BluezAdapter classes. 2023-08-29 15:47:13 +05:30
Vibhav Pant 6abeac91ce Add log messages for freeing service browsers and entry groups. 2023-08-29 15:14:07 +05:30
Vibhav Pant 47057e068d Allow advertising multiple services. 2023-08-29 15:09:28 +05:30
Vibhav Pant 3fc41d70c3 Free resources on destruction. 2023-08-29 15:09:14 +05:30
Vibhav Pant 0ca9a2f022 BluetoothServerSocket: Fix lifetime issues with service_uuid. 2023-08-29 14:08:58 +05:30
Vibhav Pant 9130c37b4f Add ble headers. 2023-08-29 14:03:28 +05:30
Vibhav Pant fbf7512a6a Add dummy implementations for BLE. 2023-08-29 14:03:16 +05:30
Vibhav Pant 2887eedb3e profile_object_path: Ensure the object name is valid. 2023-08-29 14:02:44 +05:30
Vibhav Pant d7d22684f4 Start the thread pool on construction. 2023-08-29 14:02:32 +05:30
Vibhav Pant ac48b8e0ee Register: Create a BlueZ profile object before registering it. 2023-08-29 14:02:03 +05:30
Vibhav Pant 433aa37a2d Profile: Log profile object path after construction. 2023-08-29 14:00:18 +05:30
Vibhav Pant 7c22d03e7f StartAdvertising: Let avahi handle the host name. 2023-08-29 13:59:20 +05:30
Vibhav Pant 2e88b4aa7f Minor refactor. 2023-08-29 13:07:30 +05:30
Vibhav Pant 7f80090388 Rewrite ThreadPool. 2023-08-29 13:06:35 +05:30
Vibhav Pant 67bc378a83 Add org.freedesktop.Accounts.User.xml. 2023-08-29 13:05:59 +05:30
Vibhav Pant 93673e9d2c Add bluetooth_classic_server_socket.cc 2023-08-29 13:05:39 +05:30
Vibhav Pant 0dcdeaae6e Add login_manager_client_glue.h 2023-08-29 11:42:43 +05:30
Vibhav Pant 55a8283e8d Synchronize writes to std::cout. 2023-08-28 01:16:41 +05:30
Vibhav Pant dc48cdbc98 Use bus name only for default connection. 2023-08-28 01:15:55 +05:30
Vibhav Pant a597feabaa Fix signatures. 2023-08-27 20:50:36 +05:30
Vibhav Pant 4978e6bea9 Rewrite timer to use POSIX timers. 2023-08-27 20:50:26 +05:30
Vibhav Pant 61b4e1d74d Fix more compilation errors. 2023-08-27 20:48:09 +05:30
Vibhav Pant bf4c0c5d3a Use /com/google/nearby as the object path. 2023-08-27 16:34:27 +05:30
Vibhav Pant 9976d475fb DeviceInfo: Register and unregister screen lock listeners. 2023-08-27 15:12:44 +05:30
Vibhav Pant 4018ff6240 Fix deps. 2023-08-27 15:00:03 +05:30
Vibhav Pant 6350b14f3b Add support for inhibition locks. 2023-08-27 14:59:43 +05:30
Vibhav Pant e63c5087f9 Comment out wifi scan callback code 2023-08-27 14:34:16 +05:30
Vibhav Pant f50abe1677 Fix compilation errors. 2023-08-27 14:06:50 +05:30
Vibhav Pant 24cd783755 Add missing headers. 2023-08-27 14:06:10 +05:30
Vibhav Pant 5379eb4695 Add CreatePreferencesManager implementation. 2023-08-27 12:25:01 +05:30
Vibhav Pant a931c295d2 initBusConnections: Start an async event loop after creating connections. 2023-08-27 12:24:36 +05:30
Vibhav Pant e1139bfba7 GetLocalAppDataPath: Use XDG_CONFIG_HOME. 2023-08-27 12:24:22 +05:30
Vibhav Pant de32aec382 GetDownloadPathInternal: Construct DeviceInfo correctly. 2023-08-27 12:24:02 +05:30
Vibhav Pant f2d9e1feeb Add method ConnectedToWifi. 2023-08-27 09:44:13 +05:30
Vibhav Pant f5c66fb83f Add Wifi Direct files. 2023-08-27 00:35:37 +05:30
Vibhav Pant c4f805b377 Add WifiDirectSocket methods. 2023-08-27 00:35:28 +05:30
Vibhav Pant 0df941c560 Add Wifi Direct medium 2023-08-27 00:32:55 +05:30
Vibhav Pant b5403f443a Add ConnectedToWifi. 2023-08-27 00:17:56 +05:30
Vibhav Pant 2a05ca9620 Add additional files. 2023-08-26 21:49:42 +05:30
Vibhav Pant 1b70335184 Implement remaining platform methods. 2023-08-26 16:46:25 +05:30
Vibhav Pant dc6aa72db6 Use sdbus-c++ glue proxies for device info. 2023-08-23 20:33:57 +05:30
Vibhav Pant 24f6c79445 Use XDG_RUNTIME_PATH for GetTemporaryPath 2023-08-23 17:47:27 +05:30
Vibhav Pant 929b3c6076 Merge remote-tracking branch 'proatgram/linux-platform' 2023-08-23 17:41:43 +05:30