Commit Graph
57 Commits
Author SHA1 Message Date
hathach fd0b115f42 Merge branch 'master' into develop 2020-03-12 21:38:52 +07:00
hathach 79efcb88ef add characteristic isFixedLen() 2020-02-21 11:48:16 +07:00
hathach 8b04c26463 rename BleSecurityMode to SecureMode_t 2020-02-04 21:13:11 +07:00
hathach fc922e661d add Bluefruit.setPIN() for static passkey pairing 2020-02-04 21:06:06 +07:00
hathach 986a0f8b90 complete file moving 2019-11-18 20:57:56 +07:00
hathach 65eb11829b update BLEAdafruitSensor service 2019-11-14 14:55:20 +07:00
hathach d898f17f44 BLECharacteristic allow user set buffer 2019-11-14 13:14:03 +07:00
hathach 603447a0d6 adding abstract class BLEAdafruitSensor 2019-11-13 17:19:56 +07:00
hathach 9b0bf8b817 move conn_hdl to 1st parameter in indicate API 2019-02-28 14:21:16 +07:00
hathach 3b9805f124 move conn_hdl to the first parameter for connection specific API 2019-02-28 14:16:37 +07:00
hathach a4487a22f7 minor service clean up 2019-02-27 20:09:13 +07:00
hathach 3f01e1f069 remove offset parameter in BLECharacteristic's write_cb_t signature 2019-02-26 21:32:51 +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 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 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 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach 2938ca0a6c Merge branch 'master' into develop 2018-04-05 13:39:25 +07:00
hathach bba9ae1d12 Merge branch '0.8.x' into develop 2018-04-03 17:15:33 +07:00
Greg Gianforcaro aad3697f42 Fix setWriteAuthorizeCallback typo 2018-02-28 17:19:52 -05:00
hathach c2117d991b BLECharacteristic add offset to read() 2018-01-31 19:02:16 +07:00
hathach 20a2db556c add indicate API, add getCccd to BLECharacteristic 2018-01-17 21:43:57 +07:00
hathach d6f81a2e8b clean up code 2018-01-05 13:42:51 +07:00
hathach 48cee0fa1d enhance BLECharacteristic
add read8(), read16(), read32(),
add write8(), write16(), write32()
add notify8(), notify16(), notify32()
2018-01-05 13:03:05 +07:00
hathach 9029bf6b2e fix weekday for client_cts example 2018-01-02 21:49:25 +07:00
hathach 91f6de09f8 clean up 2018-01-02 16:03:46 +07:00
hathach 3315199da3 clean up 2017-10-26 13:26:05 +07:00
hathach af749ca328 update hap char 2017-10-17 14:13:48 +07:00
hathach 98072c1622 add HAP Properties support 2017-10-16 23:15:21 +07:00
hathach e653e098c9 add format descriptor for HAP Char 2017-10-15 14:37:53 +07:00
hathach 418a2f9cc1 add addDescriptor() for Characteristic 2017-10-15 14:23:10 +07:00
hathach 3b3885108f add char presenttation format descriptor support
- function setPresentationFormatDescriptor()
- add UUID16_UNIT* macro
-
2017-10-15 02:33:17 +07:00
hathach 7220d98c94 update HAP char 2017-10-15 00:50:27 +07:00
hathach a0055a611e BLE Chars enhance
- default max_len to 20 bytes only (previously 512)
- rename setStringDescriptor to setUserDescriptor
2017-10-12 22:02:32 +07:00
hathach e45f489767 add BLECharacteristic destructor 2017-04-13 18:01:56 +07:00
hathach e86556fd8f API clean up 2017-04-13 11:09:59 +07:00
hathach dada11452e more return type change from err_t to bool 2017-04-09 13:47:18 +07:00
hathach 3c0f3e84f1 introduce BLEGatt class 2017-03-30 16:36:59 +07:00
hathach 4cb70667f5 change write() return type to uint16_t 2017-03-27 20:43:16 +07:00
hathach 1cc6654adf clean up notify API 2017-03-27 20:09:40 +07:00
hathach be42b0a360 add parent service for central 2017-03-23 02:21:52 +07:00
hathach 71cc024ee4 clean up 2017-03-23 01:48:42 +07:00
hathach 666c00cbf4 clean up 2017-03-22 23:22:38 +07:00
hathach 6f0e361b8f adding BLECentralCharacteritic, add hid_camerashutter sketch 2017-03-22 13:38:22 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach a90c0b2589 add char read 2017-03-17 12:54:10 +07:00
hathach 8d80b01f84 add keywords.txt 2017-03-15 01:21:32 +07:00
hathach 92e61127da rename start() to begin() 2017-03-08 17:31:35 +07:00
hathach f31b8ec41d change characteristic write callback signature 2017-02-28 17:12:12 +07:00