Commit Graph
53 Commits
Author SHA1 Message Date
ogatatsu 2794dfebfa Rename functions for consistency 2020-10-13 21:07:08 +09:00
ogatatsu d2f669e300 Add some functions
BLEPeriph::setSlaveLatency()
BLEConnection::getSlaveLatency()
BLEConnection::getConnSupervisionTimeout()
2020-10-11 08:42:13 +09:00
hathach c322f4c834 rename Bluefruit.Pairing to Bluefruit.Security 2020-03-19 17:39:40 +07:00
hathach 0391ecac34 remove Bluefruit::connPaired() and BLEConnection::paired() 2020-03-19 15:52:23 +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 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 b555131ca2 improve connection requestPairing()
move loadCccd() to
2020-03-14 16:29:51 +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
hathach b5ca5d0387 reworking bonding, save/load using ID Address instead of ediv 2020-03-14 13:40:40 +07:00
hathach fd0b115f42 Merge branch 'master' into develop 2020-03-12 21:38:52 +07:00
Matthias Spiller 3bc73d5fb0 Fix sporadic hangup when stopping notifies 2020-02-21 08:17:13 +00:00
hathach afdaf93e45 move peer pubkey to member of Connection (better for concurrent support) 2020-02-14 22:05:46 +07:00
hathach 13b6695055 more with BLEPairing 2020-02-14 18:19:02 +07:00
hathach 53c9580f71 Introducing BLEPairing class
move all pairing/bonding related to BLEPairing
2020-02-14 12:36:46 +07:00
hathach 5b1eeab956 LESC passkey pairing work well 2020-02-13 18:54:38 +07:00
hathach 844e5cae23 save peer LTK (bond) if it is distributed 2020-02-13 17:43:11 +07:00
hathach 4402af2139 getting passed the LESC DHKEY 2020-02-13 16:09:42 +07:00
hathach ee29722b69 adding pairing display example 2020-02-05 14:57:42 +07:00
hathach 1af549c67b fix isuse with phy request log 2019-08-16 13:04:57 +07:00
hathach 8ce3506904 add BLEConnection requestConnectionParameter()
rename getConnInterval() to getConnectionInterval()
2019-08-16 12:22:21 +07:00
hathach cbcd9eb324 implement #80, add requestPHY/getPHY support
update prph and central throuhgput example.
2019-08-15 12:32:46 +07:00
hathach 4e95f95722 added BLE_GATTC_EVT_EXCHANGE_MTU_RSP support 2019-08-13 16:04:29 +07:00
hathach 93d44eab28 added updateDataLength/updateDataLength for BLEConnection
fix #106
2019-08-13 15:33:42 +07:00
hathach 5f06fd2fd9 move getPeerName to BLEConnection 2019-04-05 12:59:50 +07:00
hathach cce9aa990b clean up 2019-03-06 22:43:01 +07:00
hathach 58106006b9 clean up 2019-02-01 16:44:30 +07:00
hathach b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +07:00
hathach 6dd7918cc9 clean up 2019-01-24 16:37:16 +07:00
hathach ee360d43b1 Add BLEConnection's setTxPower() 2019-01-24 15:17:26 +07:00
hathach cc180325a1 add getConnInterval() to BLEConnection 2019-01-24 13:51:33 +07:00
hathach 667d054771 remove a getPeerAddr(uint8_t[6]) variant 2019-01-24 01:12:30 +07:00
hathach a6ba9aa1cf add disconnect() to BLEConnection 2019-01-24 01:06:23 +07:00
hathach 06c9d7bab2 add rssi callback sketch
implement #153
2019-01-23 00:28:48 +07:00
hathach 41d5d6e294 add rssi poll example 2019-01-22 23:50:11 +07:00
hathach 5d9f0badb8 add monitorRssi() and stopRssi() 2019-01-22 22:53:26 +07:00
hathach 14980fbe12 add bleconnection connected() 2019-01-21 18:16:05 +07:00
hathach fc35f9f0cd bleconnection clean up 2019-01-21 16:12:04 +07:00
hathach a264e24eac bleconnection make ediv private 2019-01-21 16:01:13 +07:00
hathach 2f645e6bca renane getMTU() to getMtu() 2019-01-19 01:51:19 +07:00
hathach 7d80c5086d move mtu negotitation
- add _conn_interval to bleconnection
- change getMaxMtuByConnCfg() to getMaxMtu(role)
2019-01-19 01:49:24 +07:00
hathach 5ca4309ec2 move whole pairing process into bleconnection 2019-01-19 01:32:08 +07:00
hathach 2a3f6ee375 make hvc_sem private 2019-01-18 16:27:09 +07:00
hathach d451759441 Add BLEConnection event handler 2019-01-18 16:04:15 +07:00
hathach b0ea12a467 make hvn_sem and wrcmd_sem private 2019-01-18 13:27:28 +07:00