Commit Graph
113 Commits
Author SHA1 Message Date
Vibhav Pant e39b475a49 Fix typo. 2023-09-02 13:01:20 +05:30
Vibhav Pant a8199cf5c5 Disable AP isolation for softAP 2023-09-01 21:38:25 +05:30
Vibhav Pant 8602ac9c26 ConnectToProfile: log about the connection attempt. 2023-09-01 20:02:40 +05:30
Vibhav Pant 06c1cc52ab Minor refactor. 2023-09-01 20:01:13 +05:30
Vibhav Pant ef1df07ce4 Set the initial value for AtomicBoolean. 2023-09-01 20:00:50 +05:30
Vibhav Pant 2e58a81cfc BluetoothServerSocket: Cancel an ongoing Accept request on Close. 2023-09-01 20:00:27 +05:30
Vibhav Pant 14b12e9afc Add support for request cancellation to GetServiceRecordFD. 2023-09-01 19:59:38 +05:30
Vibhav Pant 3a22a87074 WiFiLanSocket: Don't store an extra copy of the FD. 2023-09-01 19:59:08 +05:30
Vibhav Pant 1449dc402d StartWifiHotspot: Generate connection UUID in the correct format. 2023-09-01 19:58:44 +05:30
Vibhav Pant 10f606ee51 Add BluetoothInputStream, BluetoothOutputStream. 2023-09-01 19:58:05 +05:30
Vibhav Pant 1f08f1ab33 Register: Set options to allow RFCOMM socket creation. 2023-09-01 17:03:23 +05:30
Vibhav Pant b6b9d3b005 Move stream implementation to its own file. 2023-09-01 17:03:06 +05:30
Vibhav Pant 474b7833e4 Disable Start/StopWifiDirect for now. 2023-08-31 21:00:01 +05:30
Vibhav Pant 30fe002422 Reuse the Windows mutex implementation. 2023-08-31 20:58:27 +05:30
Vibhav Pant 0858eb9c84 Print: Fix crash because of the buffer being freed incorrectly. 2023-08-31 01:43:15 +05:30
Vibhav Pant e691cee79a GetIP4Config: Avoid unnecessary lookups for unrelated connections. 2023-08-30 19:24:11 +05:30
Vibhav Pant 1376173a9e GetInformation: Prevent potential UB while getting AP frequency 2023-08-30 19:20:36 +05:30
Vibhav Pant 5b5eb953e0 Use absl::flat_hash_map for known_access_points_. 2023-08-30 19:06:12 +05:30
Vibhav Pant faea2a395a Refactor 2023-08-30 19:06:04 +05:30
Vibhav Pant b4fd1e0ced Split off most of NetworkManager code into their own files. 2023-08-30 18:48:10 +05:30
Vibhav Pant 1de5123935 Minor refactoring. 2023-08-30 16:46:41 +05:30
Vibhav Pant dbbd9e043c Rewrite NetworkManager state to use an enum type for clarity. 2023-08-30 16:46:17 +05:30
Vibhav Pant c742bd3a37 clang-format 2023-08-30 13:21:30 +05:30
Vibhav Pant cb83656eab Minor refactoring. 2023-08-30 01:53:54 +05:30
Vibhav Pant 86cffae21f Move dbus stubs to generated package. 2023-08-29 23:56:15 +05:30
Vibhav Pant be5fcba2d2 Add copyright headers. 2023-08-29 22:12:10 +05:30
Vibhav Pant 6c198fc2d2 Add copyright notice headers. 2023-08-29 22:06:30 +05:30
Vibhav Pant bf84a1fdac Simplify ObjectManager listener code. 2023-08-29 20:27:49 +05:30
Vibhav Pant 429e60cdd5 Store a copy of the last known name and address to use for lost devices. 2023-08-29 20:27:23 +05:30
Vibhav Pant 366c57fe12 Use the correct object name for LoginManager. 2023-08-29 20:26:45 +05:30
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