Commit Graph
101 Commits
Author SHA1 Message Date
hathach 3cb7236c6a added BLECharacteristic notify32/indicate32(float) 2020-12-07 19:42:30 +07:00
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 3fb23a34f5 fix typo #569 2020-09-07 12:20:16 +07:00
Ha Thach d70e86b9af Merge branch 'master' into develop 2020-07-27 23:51:52 +07:00
hathach 3c6c2b7d55 remove BLECharateristic write(int32_t)
fix #520
2020-07-10 18:48:14 +07:00
hathach 28eba0c780 enhance BLEService::setPermission(read,write) 2020-03-19 19:02:18 +07:00
hathach fd0b115f42 Merge branch 'master' into develop 2020-03-12 21:38:52 +07:00
hathach 0a73db570d Merge remote-tracking branch 'origin/master' into quaternion-service 2020-02-24 23:37:41 +07:00
Matthias Spiller 3bc73d5fb0 Fix sporadic hangup when stopping notifies 2020-02-21 08:17:13 +00: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 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 940e902edd BLECharacteristic falls back to immed call if ada callback failed 2019-09-23 15:32:36 +07:00
hathach d81599d619 increase ada callback queue size from 20 to 40
- fox adacallback queue overflow with large image
- fix issue with tft draw bitmap
2019-08-26 23:55:58 +07:00
hathach c88bd0092f Merge branch 'master' into develop 2019-04-04 20:34:43 +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 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 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 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 b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +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 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 fc35f9f0cd bleconnection clean up 2019-01-21 16:12:04 +07:00
hathach 2f645e6bca renane getMTU() to getMtu() 2019-01-19 01:51:19 +07:00
hathach 4e5f419474 rename BLEGapConnection to BLEConnection, move to seperate files 2019-01-18 12:31:40 +07:00
hathach a9ac9d994e adding BLEGapConnection
- getHvnPacket()
- getWriteCmdPacket()
- getMTU()
2019-01-17 20:00:08 +07:00
hathach 6383861ea5 update changelog 2019-01-09 21:15:09 +07:00
hathach 17a3737145 Merge branch 'master' into master 2019-01-09 20:58:36 +07:00
Petr Nejedly 89ba0b1aac Fix upstream issue #173 - lost UART packets.
In case the application is sending more notifications back-to-back
and the framework has no free buffer slots error code was returned
instead of false, which was interpreted as success.
Return false in such a case, in line with SD buffer overflow handling
below.
2018-09-01 11:54:58 -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 7ddfde20e6 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2018-04-05 12:20:36 +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 dcbecb8b5f complete move all bond function to bonding.cpp 2018-02-22 14:51:10 +07:00
hathach c2117d991b BLECharacteristic add offset to read() 2018-01-31 19:02:16 +07:00
hathach 9e0a6ff775 enhance indicat API() to wait for confirm or timeout from peer. 2018-01-30 14:27:38 +07:00