Commit Graph
814 Commits
Author SHA1 Message Date
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
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
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 7a28e07579 fix bonding with public/static address 2021-07-05 17:00:32 +07:00
hathach 76579e48fc fix warning 2021-06-10 00:14:52 +07:00
hathach 1ce065ef00 add BLEUuid toString() 2021-06-08 22:58:33 +07:00
hathach a4679bd8a3 add Char readFloat() and writeFloat() 2021-06-08 16:41:57 +07:00
hathach 3995b428a1 add BLECharacteristic constructor with max_len and fixed len 2021-06-08 11:59:44 +07:00
hathach e732631e5c add BLECharacteristic constructor with properties
also add properties as BLERead/Write etc.. to make it easier to migrate
from arduino ble
2021-06-07 23:41:57 +07:00
hathach c5727eef8c implement BLEUuid from string style like ArduinoBLE 2021-06-04 20:08:30 +07:00
hathach 13e9ad4ca6 fix build with 832 lacking usbhid def 2021-06-03 16:31:43 +07:00
hathach fdb4048832 fix CRYPTOCELL_IRQn prevent go to sleep causing high power 2021-06-03 15:32:51 +07:00
hathach c1a4352be6 fix compiling with blehid 2021-06-02 21:20:54 +07:00
hathach 23f0b09605 add tinyusb header across libraries 2021-06-02 13:26:54 +07:00
hathach b9de0dd52d fix various warnings 2021-05-25 21:29:08 +07:00
hathach 839336a1a2 add include Adafruit_TinyUSB.h to example sketches for Serial
also include Adafruit_TinyUSB.h in often used libraries
2021-05-07 12:32:26 +07:00
hathach 6cd839ef31 fix gamepad report type conflict 2021-04-22 22:33:19 +07:00
Artur Moura Aguiar 620d2e5543 Improvements to pairing authentication support, mouse press/release, and a few helpers 2021-04-14 18:32:57 -07:00
hathach 97d7ce7e33 remove the include MIDI.h to prevent build error without MIDI Library installed 2021-01-04 23:33:45 +07:00
Ha Thach 2cbb155037 Merge pull request #609 from spacenate/midi-library-v5-support
Adds MIDI Library v5 support
2021-01-04 23:26:52 +07:00
Erik Hougaard 4095afb7d3 Endian-swap implemented in setMajorMinor 2021-01-02 20:52:37 +01:00
Nathan Sollenberger 275a8a4f9d Adds missing Transport methods 2020-12-11 16:47:37 -07:00
Ha Thach be4d31c7f3 Merge pull request #604 from orrmany/patch-1
Event dispatch bugfix
2020-12-10 16:11:16 +07:00
orrmany 628e8775f4 Event dispatch bugfix and making _mprot_event_sem a regular semaphore 2020-12-09 20:52:39 +01:00
hathach 00cbb9bf17 fix ci with 832 2020-12-08 01:05:35 +07:00
hathach 3cb7236c6a added BLECharacteristic notify32/indicate32(float) 2020-12-07 19:42:30 +07:00
ogatatsu 2794dfebfa Rename functions for consistency 2020-10-13 21:07:08 +09:00
ogatatsu 1a506b5f54 Remove the process that automatically negotiates when connecting
Better to use the BLEConnection::requestConnectionParameter() function
2020-10-11 14:00:02 +09:00
ogatatsu d2f669e300 Add some functions
BLEPeriph::setSlaveLatency()
BLEConnection::getSlaveLatency()
BLEConnection::getConnSupervisionTimeout()
2020-10-11 08:42:13 +09:00
hathach 3984c86902 fix some warnings
remove beacon blocking wait for Serial connection
2020-10-05 19:48:10 +07:00
ogatatsu 771b7cf38f fixed a bug that saved cccd data to a different offset after the second time. 2020-10-04 11:10:07 +09:00
Ha Thach dc2802a2b1 Merge pull request #466 from adafruit/develop
implement comprehensive LESC and Legacy pairing
2020-09-11 23:54:28 +07:00
hathach 6aabe01674 Merge branch 'master' into develop 2020-09-11 19:16:30 +07:00
hathach 3fb23a34f5 fix typo #569 2020-09-07 12:20:16 +07:00
hathach 5bb5b132e5 fix power usbready not handled if bluefruit begin() is called fast enough 2020-08-01 21:47:38 +07:00