Commit Graph
768 Commits
Author SHA1 Message Date
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
Ha Thach d70e86b9af Merge branch 'master' into develop 2020-07-27 23:51:52 +07:00
Ha Thach 1bf80af139 Merge pull request #535 from pyro9/fix_discovery
Fix  BLEDiscovery::discoverCharacteristic when the central device returns more than 4 Characteristics in a discovery request
2020-07-17 13:19:26 +07:00
Steven James df5f6c48a9 MAX_DISC_CHARS = 8 to avoid excessive OTA queries for discovery. 2020-07-16 14:00:30 -04:00
Steven James 38127c2fa3 Clean up formatting 2020-07-16 13:59:55 -04:00
Ha Thach 604a8c897e Merge pull request #527 from adafruit/fix-520
remove BLECharateristic write(int32_t)
2020-07-17 00:24:46 +07:00
Ha Thach 03a5017f4e Merge pull request #531 from adafruit/fix-504
fix typo
2020-07-16 23:17:36 +07:00
Steven James d41dda9b10 Fix BLE Characteristic discovery when the central device returns more
than 4 Characteristics in a discovery request
2020-07-13 15:18:07 -04:00
hathach 21924d1064 fix typo 2020-07-13 17:54:33 +07:00
Ha Thach 7231f8c5f8 Merge pull request #501 from orrmany/develop-multiprotocol-ble
Make Bluferuit52 multiprotocol friendly
2020-07-11 00:46:21 +07:00
Ha Thach e16f80b957 Merge branch 'master' into develop 2020-07-10 19:11:14 +07:00
hathach 3c6c2b7d55 remove BLECharateristic write(int32_t)
fix #520
2020-07-10 18:48:14 +07:00
Gábor Ziegler ff12326ecf Adding compile guards 2020-06-15 11:45:46 +02:00
hathach e9dad1fc5d clean up and fix typo 2020-05-28 20:05:28 +07:00
Gábor Ziegler 7d80eabeed fixing warning: '/*' within comment [-Wcomment] 2020-05-10 20:04:36 +02:00
Gábor Ziegler 51925d20fa making bluefruit multiprotocol friendly 2020-05-07 10:04:02 +02:00
hathach 10b85b5e4e fix build blehid with feather52832 2020-04-21 00:30:30 +07:00
hathach c039eb6787 fix compile issue with upgrading nrfx v2 and tinyusb 2020-04-20 23:11:46 +07:00
Ha Thach 8acdb60510 Merge branch 'master' into develop 2020-03-20 10:29:36 +07:00
hathach 28eba0c780 enhance BLEService::setPermission(read,write) 2020-03-19 19:02:18 +07:00
hathach a860206275 callback rename 2020-03-19 17:42:11 +07:00
hathach c322f4c834 rename Bluefruit.Pairing to Bluefruit.Security 2020-03-19 17:39:40 +07:00
hathach 5e78aa3a73 rename BLEPairing to BLESecurity 2020-03-19 17:38:39 +07:00
hathach 1a6a88a556 fix ci for feather52832 2020-03-19 16:18:41 +07:00
hathach 0391ecac34 remove Bluefruit::connPaired() and BLEConnection::paired() 2020-03-19 15:52:23 +07:00
hathach e0cda21a1a remove AdafruitBluefruit::requestPairing
default CFG_DEFAULT_NAME to USB_PRODUCT
2020-03-18 23:04:00 +07:00
hathach f35ca052f5 added secured callback 2020-03-18 14:22:36 +07:00
hathach f0440b55ea Pairing added secured callback, requestPairing() is non-blocking now. 2020-03-18 11:25:52 +07:00
hathach 7cc1307517 central auto removes failed bond keys 2020-03-18 11:00:06 +07:00
hathach d0e5946974 rename save/load BondKey 2020-03-18 10:55:05 +07:00
hathach 1210b3e7c0 BLEConnection add _bonded, rename _paired to _secured 2020-03-18 10:18:18 +07:00
hathach 35262982c4 central auto use stored keys if bonded previously 2020-03-18 00:34:29 +07:00
hathach ddded48642 fix central reconnection with LESC 2020-03-17 23:44:09 +07:00
hathach a5fea5644b clean up 2020-03-17 23:42:26 +07:00
hathach 44a98b6e9a enhance pairing to work with numberic comparison 2020-03-17 17:01:49 +07:00
hathach 2a53a5f810 add Pairing setIOCaps() and setMITM() 2020-03-17 13:37:02 +07:00
hathach 7b432602aa clean up 2020-03-16 22:44:24 +07:00
hathach b487db9603 rename display callback to passkey callback 2020-03-16 13:22:13 +07:00
hathach 0ee2124e06 clean up BLEConnection 2020-03-14 16:45:50 +07:00
hathach 1a9415005b clean up bonding code 2020-03-14 16:43:16 +07:00
hathach b555131ca2 improve connection requestPairing()
move loadCccd() to
2020-03-14 16:29:51 +07:00
hathach e6bcfcb4c0 update bond remove keys 2020-03-14 16:07:40 +07:00
hathach c6167bc4e5 clean up 2020-03-14 14:37:29 +07:00
hathach 5b16aee26d clean up 2020-03-14 14:35:35 +07:00
hathach 278f82aefe enhance save cccd, only write to flash if contents not matched 2020-03-14 14:27:56 +07:00
hathach 4653f9cdc3 save key dfr don't need malloc 2020-03-14 14:07:31 +07:00
hathach d32aa2c04c move bond_keys and peer_pubkey into BLEPairing
change to use static variable instead of malloc pointer for more
reliability
2020-03-14 14:01:35 +07:00