Commit Graph
45 Commits
Author SHA1 Message Date
hathach 3b9805f124 move conn_hdl to the first parameter for connection specific API 2019-02-28 14:16:37 +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 b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +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 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 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 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach e3a1b895fd fix firmata sketch issue 2017-12-22 17:15:03 +07:00
hathach f39421f4ef Move Conn Cfg into BLEGap 2017-12-21 22:52:10 +07:00
hathach 92dc3ed5eb done with config clean up 2017-12-15 20:59:23 +07:00
hathach 7c4330e086 enhance bleuart to support larger MTU close #86
able to send up to 247 byte per packet
2017-12-14 17:40:40 +07:00
hathach 44286d9285 bleuart RXD fifo created with begin() instead of constructor 2017-12-14 14:28:55 +07:00
hathach 4970eb116c implement HAP write value and read value response
improve debug visibility
2017-10-26 14:46:22 +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 9421a43b80 rename BLE_GATT_ATT_MTU_DEFAULT 2017-10-05 16:05:35 +07:00
hathach b2585f1753 change log lv at some files 2017-08-08 15:53:36 +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 159a32bd2c finalize buffered txd for bleuart 2017-07-26 17:08:16 +07:00
hathach 89edcd7338 wrap up bleuart buffered txd 2017-07-26 16:39:35 +07:00
hathach c5ebf1d06c getting ready for buffered txd 2017-07-26 16:01:21 +07:00
hathach 0cbbe8f291 improve adafruit fifo 2017-07-26 15:13:45 +07:00
hathach ce38d3ce71 refactor adafruit fifo, move malloc from constructor to begin() 2017-07-26 14:54:05 +07:00
hathach c078c3565f add bufferTXD() for BLEUart 2017-07-26 13:24:26 +07:00
hathach dada11452e more return type change from err_t to bool 2017-04-09 13:47:18 +07:00
hathach 6354c8d186 adding BLECentralService, BLECentralCharacteristic, BLECentralUart serivce 2017-03-22 17:17:11 +07:00
hathach 92e61127da rename start() to begin() 2017-03-08 17:31:35 +07:00
hathach 12ca4c0a28 add throughput close #17
- add notifyEnabled() for BLEUART
- rename MIDI configured() to  notifyEnabled()
- add macro ARUDINO_BSP_VERSION for currnet libraries version, to use
with FirmwareRev in BLEDIS
2017-03-02 17:33:08 +07:00
hathach f31b8ec41d change characteristic write callback signature 2017-02-28 17:12:12 +07:00
hathach ea69011f9e add bleuart rx callback for user 2017-02-13 22:51:07 +07:00
hathach ce76cc5405 change NRF_SUCCESS to ERROR_NONE 2017-01-21 01:19:58 +07:00
hathach 90a1bebe2c starting to add BLEHid support 2017-01-20 00:36:37 +07:00
hathach bc6c61da9a move Bluefruit libraries services out of utility 2017-01-11 13:42:40 +07:00