Commit Graph
1617 Commits
Author SHA1 Message Date
hathach 396f7a4455 remove keyboardReport() variant with flat keycode parameter 2019-02-27 21:12:27 +07:00
hathach d721fbf14b add conn_hdl to blehid generic send report API() 2019-02-27 21:11:43 +07:00
hathach fd6b000ecc blemidi require sketch to set active connection 2019-02-27 20:25:32 +07:00
hathach a4487a22f7 minor service clean up 2019-02-27 20:09:13 +07:00
hathach fc34c0223c BLEUart add setNotifyCallback(), add flushTXD() for application, remove auto flush_txd() by timer. 2019-02-27 13:18:20 +07:00
hathach a736419a16 clean up 2019-02-27 12:17:29 +07:00
hathach 1d61b33765 rename BLEService disconnect/connect handler 2019-02-27 12:16:00 +07:00
hathach c916c2b408 add conn_hdl to BLEUart rx callback 2019-02-27 01:33:41 +07:00
hathach 3b712a04a3 clean up 2019-02-26 21:36:03 +07:00
hathach 3f01e1f069 remove offset parameter in BLECharacteristic's write_cb_t signature 2019-02-26 21:32:51 +07:00
hathach 59b12ded0e rename BLEUart flush_tx_buffered() to _flush_txd() 2019-02-26 20:29:16 +07:00
hathach 802b7e01e9 Add conn_hld to BLEUart write(), notifyEnabled(), flush_tx_buffered()
still has multiple connection work with bleuart
2019-02-26 16:40:13 +07:00
hathach 5768575c42 add conn_hdl to all BLECharacteristic callback to support multiple prph connections
- added optional conn_hdl to getCccd(), indicateEnabled(),
notifyEnabled()
- added optional conn_hdl to all indicate() and notify() data function
2019-02-26 15:34:26 +07:00
hathach 0386062314 clean up 2019-02-15 12:57:35 +07:00
hathach 3c27998c8f Merge pull request #229 from techno/master
Bug Fix: Incorrect cast on BLECharacteristic::read32()
2019-02-15 11:07:24 +07:00
Hirotaka Kawata 2aef4dd2f0 Bug Fix: Incorrect cast on BLECharacteristic::read32() 2019-02-14 20:09:12 +09:00
hathach c09b65c425 use ada callback for long write exe callback 2019-02-14 13:09:38 +07:00
hathach e13922c58b enhance ada_callback, add malloc len for cleaner usage 2019-02-14 12:50:17 +07:00
hathach 333f151ff5 Merge branch 'master' into develop 2019-02-13 22:25:26 +07:00
hathach e05bdc9030 implement BLECharacteristic long write #91,#220 2019-02-13 14:57:36 +07:00
hathach e9a3f63230 clean up 2019-02-11 17:46:20 +07:00
hathach 00816a2de2 add enableOTA(bool) 2019-02-01 18:49:23 +07:00
hathach 58106006b9 clean up 2019-02-01 16:44:30 +07:00
hathach d1b4616dcc Merge branch 'master' into develop 2019-02-01 16:16:39 +07:00
hathach b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +07:00
hathach e40181e3e5 minor clean up 2019-01-31 02:36:27 +07:00
hathach 6dd7918cc9 clean up 2019-01-24 16:37:16 +07:00
hathach bc36c95133 correct Bluefruit setTxPower() 2019-01-24 15:20:43 +07:00
hathach ee360d43b1 Add BLEConnection's setTxPower() 2019-01-24 15:17:26 +07:00
hathach 3730a7dd89 Gap.getPeerName() is replaced by Bluefruit.getPeerName() 2019-01-24 15:01:53 +07:00
hathach ba79e6d4bf Gap.setAddr()/getAddr() are replaced by Bluefruit's setAddr()/getAddr() 2019-01-24 14:55:48 +07:00
hathach ce2c3738bd add conn_handle to Bluefruit.requestPairing()
remove Gap.requestPairing()
2019-01-24 14:23:48 +07:00
hathach e200c8249d Central.disconnect() is repalced by Bluefruit.disconnect() 2019-01-24 14:10:15 +07:00
hathach 6a503f397b remove Bluefruit.connInterval() 2019-01-24 14:06:10 +07:00
hathach 08c0f5f70a update connected() for bluefruit and BLEPeriph 2019-01-24 14:02:45 +07:00
hathach cc180325a1 add getConnInterval() to BLEConnection 2019-01-24 13:51:33 +07:00
hathach 7ab2b653ae add conn_hdl to Bluefruit.getPeerAddr() 2019-01-24 13:46:53 +07:00
hathach 8e342aeddf up version 2019-01-24 01:13:44 +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 820e08f2dc adding BLEPeriph
- move setDisconnectCallback(), setDisconnectCallback()
2019-01-24 00:52:57 +07:00
hathach b03984519c Adding BLEPeriph
- move setConnInterval(), setConnIntervalMS(),
setConnSupervisionTimeout(), setConnSupervisionTimeoutMS() into BLEPerph
2019-01-24 00:44:49 +07:00
hathach e42b11d348 clean up 2019-01-24 00:07:11 +07:00
hathach 7798032dcb clean up 2019-01-23 19:35:09 +07:00
hathach 67d0890ba5 change Bluefruit.begin() return type to bool 2019-01-23 19:32:35 +07:00
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