Commit Graph
1071 Commits
Author SHA1 Message Date
hathach b9a9453abc close #88 use ada callback thread for BLECharacteristic callback
includes: write, cccd write, read authorize, write authorize
2019-01-23 15:48:49 +07:00
hathach 7b00b2103d change BLECharacteristic callback signature BLECharacteristic& to BLECharacteristic* 2019-01-23 13:14:46 +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 5d76dfa012 clean up 2019-01-22 23:04:29 +07:00
hathach 89be3a197f rename Gap.getConnection() to simply Connection() 2019-01-22 22:54:33 +07:00
hathach 5d9f0badb8 add monitorRssi() and stopRssi() 2019-01-22 22:53:26 +07:00
hathach 84f9bfd44c clean up BLEGap
- remove connected() and getRole()
- add setRssiCallback()
2019-01-22 22:53:07 +07:00
hathach afbee8151b fix Bluefruit.connected() 2019-01-22 00:39:58 +07:00
hathach d15b196fe6 increase max connections to 20 (central + prph) 2019-01-21 23:13:59 +07:00
hathach 5cdded82e9 clean up 2019-01-21 22:50:41 +07:00
hathach 4813e14129 fix issue with advertising and scanner when disconnected 2019-01-21 22:47:05 +07:00
hathach 72e627149c Bluefruit.connected(void) return number of connected as prph, Central.connected(void) return number of connection as central 2019-01-21 18:26:09 +07:00
hathach 14980fbe12 add bleconnection connected() 2019-01-21 18:16:05 +07:00
hathach 49ad36cdd6 add connected(conn_hdl) for prph 2019-01-21 17:58:22 +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
hathach ff4e9f88b0 make role private 2019-01-18 12:55:23 +07:00
hathach 317aee7d78 make mtu private 2019-01-18 12:52:22 +07:00
hathach 4e5f419474 rename BLEGapConnection to BLEConnection, move to seperate files 2019-01-18 12:31:40 +07:00
hathach 6578b3a37f BLEGapConnection paired() 2019-01-18 01:47:06 +07:00
hathach 2f1d73890d BLEGap getPeerAddr() 2019-01-17 23:31:30 +07:00
hathach a9ac9d994e adding BLEGapConnection
- getHvnPacket()
- getWriteCmdPacket()
- getMTU()
2019-01-17 20:00:08 +07:00
hathach 45129ea425 clean up 2019-01-17 19:17:51 +07:00
hathach 56ca1fdc48 more ble gap works 2019-01-17 18:55:23 +07:00
hathach e312da361e enhance BLEGap, adding BLEGapConnection to support up to max 20 connections 2019-01-17 12:53:22 +07:00
hathach 2b603b9bbc clean up ble gap 2019-01-15 00:43:59 +07:00
hathach 1c59eaed77 increase version to 0.9.4 2019-01-14 15:24:11 +07:00
hathach 1182aca25c enhance example, relate to #150 2019-01-11 14:50:37 +07:00
hathach 04c45e13d9 close #105 pwm remove pin
refactor hwpwm sketch
2019-01-10 16:13:04 +07:00
hathach 6383861ea5 update changelog 2019-01-09 21:15:09 +07:00
hathach 5d2ea85b07 Merge branch 'master' into develop 2019-01-09 21:04:07 +07:00
hathach 386bde94e9 clean up 2019-01-09 21:00:56 +07:00
hathach 17a3737145 Merge branch 'master' into master 2019-01-09 20:58:36 +07:00
hathach 5dd174f933 fixing homekit filestroage build. Still have issue with c++ in fileio 2019-01-07 17:00:17 +07:00
hathach e22f1e0a58 close #44 add client battery notify with callback support 2019-01-07 16:42:54 +07:00
hathach faeb0bcdf5 client bas work with read() 2019-01-07 16:36:34 +07:00
hathach a55de5f9b9 adding client bas 2019-01-07 16:22:20 +07:00
hathach df8a17ca57 update conn param 2019-01-07 15:54:33 +07:00
hathach 3fa4880a22 add link to disconnect reason 2019-01-07 15:33:51 +07:00
hathach 9a0da085b7 Central handle BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-07 15:16:52 +07:00
hathach 294e0564b8 adding central BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-05 00:10:44 +07:00
hathach 37203b910b increase version 2019-01-02 22:46:23 +07:00
hathach 6d10632e93 fix pin mapping in example for feather nrf52840 2018-12-21 10:49:07 +07:00