Commit Graph
16 Commits
Author SHA1 Message Date
liquidraver ebe6618b48 Improve SerialBLEInterface 2025-12-05 07:39:48 +01:00
liamcottle 844849c402 revert unexpected change to ble advertising interval on nrf52 2025-09-15 13:06:35 +12:00
liamcottle b7c8db1989 don't mark as connected until connection secured 2025-09-12 20:23:21 +12:00
ViezeVingertjes 09152dc0d4 Replaced BLE_LOW_POWER with BLE_TX_POWER & updated usages. 2025-09-07 15:44:24 +02:00
ViezeVingertjes 3efba2cfe1 Few adjustments after testing. 2025-09-07 14:08:53 +02:00
ViezeVingertjes 7de301374c Updated BLE functionality for low power mode in SerialBLEInterface. Updated platformio.ini to enable low power mode and added DC/DC converter support in T1000eBoard for improved power efficiency. 2025-09-05 10:46:51 +02:00
Scott Powell 97ecc1cb00 * RAK_4631: ui-new 2025-08-17 16:49:08 +10:00
Scott Powell e9ba5be910 * UI revamp for companion radios 2025-08-08 20:01:31 +10:00
liamcottle 72ffaeed35 refactor nrf52 ble to use callbacks 2025-07-07 16:36:55 +12:00
Lloyd e4ac3a7d39 Manually restart BLE advertising after disconnect to prevent stack freeze
Replaced use of `restartOnDisconnect(true)` with explicit (existing) manual re-advertising logic.
This avoids Bluetooth stack instability caused by overlapping advertising state,
Changes:
- Added explicit `Bluefruit.Advertising.stop()` and data clears in `startAdv()`
- Disabled automatic restart with `restartOnDisconnect(false)`
- Re-advertising now fully handled in `checkRecvFrame()` loop

Tested on: iPhone, Android, Windows, and Chrome – confirmed stable reconnects and name visibility.
2025-07-04 21:07:55 +01:00
Lloyd 10d455b1d8 BLE: Remove ScanResponse.addName() to fix re-advertising after disconnect
Removed the call to Bluefruit.ScanResponse.addName() in startAdv(), as it was preventing BLE from reliably restarting advertising after a disconnect.

Hypothesis: adding the device name to the scan response exceeds internal buffer limits or causes a conflict with advertising timing, leading to the BLE stack silently failing to re-advertise.

Tested successfully (on T-1000) without this line, advertising now resumes correctly after disconnection (on Iphone)
2025-07-02 23:41:31 +01:00
Scott Powell 5de2f0edad * BLE_WRITE_MIN_INTERVAL upped to 60 millis 2025-05-17 19:54:31 +10:00
liamcottle e232b1ce12 enforce pin being used for ble pairing on nrf52 2025-02-26 17:27:58 +13:00
Scott Powell d350a7c341 * nrf52 BLE, increased MTU to 250 2025-02-13 20:22:56 +11:00
Florent de36c12362 nrf52 ble uart should work 2025-02-12 17:44:06 +01:00
Scott Powell fc075ecaa5 * companion radio for RAK (USB) now fixed. (thanks to Bernd Giesecke)
* experimental NRF52 impl of SerialBLEInterface, and experimental RAK BLE companion radio target
2025-02-12 18:40:00 +11:00