Commit Graph
70 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 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
hathach cffa6456e4 fix typo 2018-01-23 13:19:10 +07:00
hathach 20a2db556c add indicate API, add getCccd to BLECharacteristic 2018-01-17 21:43:57 +07:00
hathach 6e42e931fa adding wr_cb to adacallback (pending) #88 2018-01-05 14:11:05 +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 4970eb116c implement HAP write value and read value response
improve debug visibility
2017-10-26 14:46:22 +07:00
hathach 3a6f88f704 clean up char handler 2017-10-16 17:31:04 +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 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 ec263bbe8d implement configurable ATT MTU #81 2017-10-10 15:16:30 +07:00
hathach abeb3825db separated TX packet to HVN and Write CMD packet 2017-10-06 11:00:18 +07:00
hathach 2da5145cbc fix compile error 2017-10-05 19:06:07 +07:00
hathach 0101bcc8fc complete refactor AdaCallback to generic arguments 2017-09-15 16:24:45 +07:00
hathach b8beb424de complete bufferTXD() for bleuart
- reduce default max connection interval from 40 to 30 ms
- finish firmata port
2017-07-28 01:44:51 +07:00
hathach 8add8a37b9 invoke BLEServer _disconnect_cb and _connect_cb 2017-07-26 11:30:19 +07:00
hathach 887d6a6541 improve saving bonding information
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach cb589bd7e7 clean up 2017-07-11 14:31:37 +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 f4b4ec0470 introduce BLEGap to manage part of GAP events 2017-03-30 22:59:20 +07:00
hathach a3cd4104b2 rename 2017-03-30 16:38:46 +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 6ead6cc678 rename txbuf_get to getTxPacket 2017-03-27 16:50:13 +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