36ed7b591b
Fix BLE semaphore leak in Bluefruit library
...
Fix semaphore leak bug that causes device lockup when BLE central disconnects unexpectedly (e.g., going out of range, supervision timeout).
Co-authored-by: liquidraver <504870+liquidraver@users.noreply.github.com >
Co-authored-by: liamcottle <liam@liamcottle.com >
2026-04-28 20:30:09 +10:00
Ha Thach and Copilot Autofix powered by AI
0e6562df6e
Potential fix for pull request finding
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-18 18:51:18 +07:00
hathach
ec0a415838
stop blink timer in autoConnLed(false)
2026-03-18 18:41:36 +07:00
hathach
4e22a13f60
fix dynamic data advertising not update
...
fix typo
2025-03-03 16:26:09 +07:00
hathach
03bb265434
Merge branch 'refs/heads/master' into add-feather-833
...
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.7.0_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.7.0_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.zip
2024-06-05 16:31:16 +07:00
hathach
145041c4e9
move example to Bluefruit52Lib/Hardware, update example with float for readability
2023-11-30 16:34:15 +07:00
hathach
f96d9cef1e
auto use peerAddress if adv type is set to one of directed type
2023-11-30 12:34:15 +07:00
hathach
ea3dd125f0
Merge branch 'master' into direct
2023-11-30 12:16:58 +07:00
hathach
f798d64fa0
add more description to beacon example, use non-connectable scannable undirected type
2023-11-29 14:56:29 +07:00
hathach
27981a32be
fix File with Adafruit_LittleFS_Namespace
2023-10-16 13:26:59 +07:00
UUSim
931b0ac1f7
Added support for directed BLE advertisements.
...
Can be used for example with advertising type BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED.
2023-09-05 23:47:51 +02:00
CSC-Sendance
dc1b3d7515
FIX #197 : Replace varclr with arrclr for BLEAdvertising _data fields
...
Otherwise the data field gets corrupted (?) causing error msg "bool BLEAdvertising::_start(uint16_t, uint16_t): 364: verify failed, error = NRF_ERROR_INVALID_LENGTH" as mentioned in this comment: https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/197#issuecomment-1403674667
see also https://devzone.nordicsemi.com/f/nordic-q-a/52573/sd_ble_gap_adv_set_configure-returns-error-nrf_error_invalid_length
2023-07-24 14:07:51 +02:00
Ha Thach
bc21608792
Update BLEDiscovery.cpp
2023-06-26 12:04:43 +07:00
Ha Thach
54242a65e8
Merge pull request #730 from OstlerDev/feat_BLEClientHid_Gamepad
...
HID Gamepad Client & Central HID Gamepad example
2023-06-15 22:16:37 +07:00
Charlie B
a59ffc545c
updated to be more similar to battery service
2023-04-20 03:07:28 -04:00
Charlie B
9388e7358c
updated to be consistent with uint8_t
2023-04-19 19:57:53 -04:00
Charlie B
687a54525e
Updated main bluefruit to include IAS
2023-04-19 19:56:41 -04:00
Charlie B
97649cee90
added client IAS
2023-04-19 17:16:49 -04:00
Charlie B
5d96925d9a
added IAS service
2023-04-19 16:17:07 -04:00
hathach
98136d36de
try to fix ci
2023-03-23 18:53:46 +07:00
hathach
a373b2cece
get most of the sketches compiled with 833 except though with external flash since 833 does not have qspi
2022-07-13 20:07:13 +07:00
hathach
42f65a84be
update build_all.py for parallel build
2022-07-13 13:34:48 +07:00
Sky Young
0f30241ed5
Add Gamepad implementation to Central HID Example
2022-05-16 21:24:50 -06:00
Sky Young
459f7cef16
Cleanup BLEClientHidAdafruit.cpp and fix todo items
2022-05-16 19:27:18 -06:00
Sky Young
47806f64f1
Allow up to 8 Characteristics at once
2022-05-16 19:26:53 -06:00
Sky Young
98a0e1648d
Add LOG_LV2 for BLE Characteristic UUIDs on Discovery
2022-05-16 18:45:26 -06:00
Sky Young
b3b3fe1ebc
Add gamepad functionality to BLEClientHidAdafruit
...
Has a couple issues that still need to be resolved in BLEClientHidAdafruit.cpp line 123 and line 138/139
2022-05-16 18:44:58 -06:00
Ha Thach
10ed826056
Merge pull request #632 from ArturA-MS/pairing_auth_req_etc
...
Added support for passkey-entry and made some usability improvements
2022-02-18 21:57:48 +07:00
hathach
a4d35c8b69
rename getConnectionHandles() to getConnectedHandles() and its signature per review
2022-02-18 21:22:07 +07:00
Ha Thach
1429db9108
Merge pull request #710 from thebigpotatoe/patch-1
...
Fixed small spelling mistake in central_bleuart.ino sketch
2022-02-18 21:03:30 +07:00
hathach
2f9c84976e
update blemidi description, add midi library depenency link
2022-02-18 16:39:59 +07:00
thebigpotatoe
6e6444ecad
Fixed small spelling mistake in central_bleuart.ino sketch
2022-01-05 22:36:35 +10:00
Artur Moura Aguiar
114b6f49e1
Also removed bond list helper from BLEPeriph
2021-12-21 17:25:53 -08:00
Artur Moura Aguiar
9a581f5f41
Removed bond list and mouse button additions. Improved passkey request interface.
2021-12-21 17:22:06 -08:00
Vasily Nosov
4dbaad4fe0
UUID enumeration update
2021-08-31 15:43:21 -05:00
hathach
eb3beca037
added BLEHidGamepad and blehid_gamepad example
2021-08-25 22:44:03 +07:00
hathach
d1564bea35
clean up blehid example
2021-08-25 16:36:03 +07:00
hathach
801bf13de7
rename hid to blehid to make it clearer (from usbhid)
2021-08-25 16:33:46 +07:00
hathach
801d3f07c2
increase version to 1.0.0
...
update bootloader binaries to 0.6.1
2021-08-18 14:17:09 +07:00
hathach
7a28e07579
fix bonding with public/static address
2021-07-05 17:00:32 +07:00
hathach
10f8db8ff0
update tinyusb libary to 1.2
...
fix example warnings
bump release to 0.24.0
2021-06-25 19:42:17 +07:00
hathach
5a98e4b767
add local display for CLUE for AirSnare and FingerUserInterface
2021-06-14 22:35:55 +07:00
hathach
0e1357d8af
normalize sensor orientation for feather sense and clue
2021-06-14 15:11:29 +07:00
hathach
b5820b0ae4
add example doc
2021-06-10 00:20:16 +07:00
hathach
76579e48fc
fix warning
2021-06-10 00:14:52 +07:00
hathach
74b64da423
complete motion trainer with magnetic sensor
2021-06-10 00:14:43 +07:00
hathach
ec4713fd95
temporarily comment out mag field in data provider
2021-06-08 23:23:28 +07:00
hathach
1f83e4c623
port the whole tf4 sketch
2021-06-08 23:13:27 +07:00
hathach
1661be0a1d
able to add ble file transfer chars
2021-06-08 23:05:46 +07:00
hathach
1ce065ef00
add BLEUuid toString()
2021-06-08 22:58:33 +07:00