Commit Graph
1024 Commits
Author SHA1 Message Date
kidfromjupiter b7c10dcddc Fixed bug wifi_lan server socket where ip address would be returned in dotted decimal when 4 byte string is expected 2026-01-21 15:17:41 +00:00
kidfromjupiter 2e5641b784 Fixed issue where avahi would not advertise ipv4 address in nsd service info. 2026-01-21 15:15:41 +00:00
kidfromjupiter 2c285eabb2 Added hedron targets for linux 2026-01-21 02:35:20 +00:00
kidfromjupiter bac1ffe00e Added hedron compile command extractor to MODULE.bazel and BUILD in linux 2026-01-17 18:11:07 +00:00
kidfromjupiter f4be67850b Reverted shared devices_ between blev2 and bt classic 2026-01-17 15:47:53 +05:30
kidfromjupiter d12be67319 Made ble_v2_medium and bluetooth_classic_medium share a devices_ 2026-01-17 08:46:49 +00:00
kidfromjupiter a61607360c Implemented gatt discovery and setting gatt characteristics 2026-01-14 13:17:13 +00:00
kidfromjupiter 4c3656b160 ble_l2cap sockets implemented. NOT WORKING THOUGH. I suspect l2cap sockets over LE require pairing even though its said it doesn't need pairing if security level is set properly on socket. 2026-01-14 13:15:49 +00:00
kidfromjupiter f14d0ee04d Implemented bluetooth socket stubs 2026-01-12 10:45:09 +00:00
kidfromjupiter 329f2ce2c9 Added GattProfile. Disabled fast adverts due to linux not supporting random mac addresses. 2026-01-12 08:17:05 +00:00
kidfromjupiter 3d97a540b5 Enabled BLE advertisements with extended + GATT server. 2026-01-10 11:23:19 +00:00
kidfromjupiter 52dfdd6a56 Enabled BLE advertisements with extended + GATT server. 2026-01-10 06:52:01 +00:00
kidfromjupiter 2d98bab2f1 updated build 2026-01-06 05:25:00 +00:00
kidfromjupiter 0d7922dc89 Enabled wifi lan medium. fixed bug with returned service id in avahi onItemNew 2026-01-06 05:24:48 +00:00
kidfromjupiter 0432c47542 Added wifi hotspot medium. Fixed mutex deadlock when bandwidth upgrade with bt classic socket 2026-01-05 14:17:26 +00:00
kidfromjupiter e2256ca83d endpoints advertised on bluetooth are immediately detected now. bluetooth socket underlying fd type auto detection added. Fixed segfault with download paths 2026-01-04 17:14:27 +00:00
kidfromjupiter 08e8b50aee fixed crash on bt socket close 2026-01-03 16:45:45 +00:00
kidfromjupiter 43c6c38a55 Fixed race conditions with simultaneous connections 2026-01-03 14:40:02 +00:00
kidfromjupiter ac5a22eb55 Fixed race conditions with simultaneous connections 2026-01-03 14:39:50 +00:00
kidfromjupiter dd21d80dc8 bugfixes and fixes to race conditions. bluetooth advertising only / discovery only works now. linux -> android conn. initiation works. android -> linux doesnt work. android doesn't seem to recognise linux. linux <-> linux works. but each devices have to be in discover/advert modes. can't be both 2026-01-02 12:29:54 +00:00
kidfromjupiter 8f6086345d updated device_info to latest API 2025-12-29 16:35:50 +00:00
kidfromjupiter 6c41d26a86 Doesn't build yet. But did more work to align the older fork with newer APIs. 2025-12-29 13:35:08 +00:00
kidfromjupiter 5f93c46954 ported over BUILD file 2025-12-29 04:41:32 +00:00
kidfromjupiter 1f3da14906 fixed logging bugs 2025-12-29 04:39:40 +00:00
kidfromjupiter 1bebcdd49a merged abandoned linux port 2025-12-29 04:27:15 +00:00
kidfromjupiter 578f253121 Remove existing linux implementation folder before importing subtree 2025-12-28 16:52:21 +00:00
kidfromjupiter 12bc97ae1f added generated files for bluz device and bluez itself. created system_clock and crypto files. 2025-12-28 13:43:42 +00:00
kidfromjupiter 284a78af0f added tests for bluetooth adapter and multithread executor 2025-12-27 05:29:14 +00:00
kidfromjupiter 88f8133d90 missed a few files 2025-12-26 15:50:41 +00:00
kidfromjupiter 333688074a Added minimal implementation of platform.cc using shared posix implementations. 2025-12-26 15:49:38 +00:00
kidfromjupiter 922ff58a3b Implemented bluetooth Adapter and atomic boolean. 2025-10-02 16:26:40 +00:00
kidfromjupiter cd24003e6e Initial linux commit 2025-09-25 16:37:45 +05:30
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Edwin Wu d429a8e42d [NC Apple coverage] Add unit tests for GNCMBleConnection.
PiperOrigin-RevId: 810761287
2025-09-24 00:53:29 -07:00
Edwin Wu 19dc77a78f Fix threading issues in GNCTimerTest.
PiperOrigin-RevId: 810693891
2025-09-23 20:57:23 -07:00
Edwin Wu 56148e3b86 [NC Apple coverage] Add tests for GNCMConnectionHandlers.
PiperOrigin-RevId: 810655020
2025-09-23 18:24:47 -07:00
Francis Tsui 6d9122c4eb Reuse the same wifi lan listening port number if endpoint ID stays the same.
PiperOrigin-RevId: 810534040
2025-09-23 12:16:23 -07:00
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
Edwin Wu 8ded7ccfca [NC Apple coverage] Add unit tests for GNCMBleUtils.
PiperOrigin-RevId: 808614106
2025-09-18 09:26:32 -07:00
Edwin Wu 961e73d7c9 [NC Apple coverage] Add unit tests for BleSocket on Apple.
PiperOrigin-RevId: 808378919
2025-09-17 20:51:46 -07:00
Francis Tsui 3f4e2a6ca0 Add flag to enable async grpc client.
PiperOrigin-RevId: 808220477
2025-09-17 10:57:43 -07:00
Edwin Wu 5865ae7496 [NC Apple coverage] Add unit tests for nearby::apple::BlePeripheral.
PiperOrigin-RevId: 807925024
2025-09-16 18:14:24 -07:00
Ivo Ristovski List ebdcfbdf3c Automated Code Change
PiperOrigin-RevId: 807654392
2025-09-16 05:23:02 -07:00
Edwin Wu 21f7e51635 [NC Apple coverage] add initial unit tests for BluetoothAdapterV2.
PiperOrigin-RevId: 807650119
2025-09-16 05:06:44 -07:00
Edwin Wu c52edc9bae [NC Apple coverage] Refactor Apple CountDownLatch to use idiomatic absl::Mutex patterns.
PiperOrigin-RevId: 807644485
2025-09-16 04:46:51 -07:00
Edwin Wu 9e050cc73a [NC Apple coverage] Add tests for timer.mm.
PiperOrigin-RevId: 807639173
2025-09-16 04:26:11 -07:00
Edwin Wu 9f678bc441 [NC Apple coverage] Add unit tests for Nearby's Apple PreferencesManager.
PiperOrigin-RevId: 807633546
2025-09-16 04:06:00 -07:00
hai007 bbecf44a56 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 807379771
2025-09-15 14:17:54 -07:00
Francis Tsui 70bb114778 Set HTTP timeout.
PiperOrigin-RevId: 806439483
2025-09-12 15:04:40 -07:00
hai007 b56d18d577 Refactor WifiLanBwuHandler test to improve test coverage.
PiperOrigin-RevId: 806350972
2025-09-12 11:01:53 -07:00