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
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
92e61127da
rename start() to begin()
2017-03-08 17:31:35 +07:00
hathach
ed7ee448ee
close #18
2017-03-05 14:29:02 +07:00
hathach
f31b8ec41d
change characteristic write callback signature
2017-02-28 17:12:12 +07:00
hathach
bf3937fa8d
change Char write(), notify() uint8_t* to void*
...
- treat BLE_ERROR_GATTS_SYS_ATTR_MISSING in notifyEnabled() as false
instead of error
2017-02-28 15:18:40 +07:00
hathach
50d703503e
change signature of cccd write callback
2017-02-27 17:21:04 +07:00
thach ha
9c1fb31bc1
notify return
...
- NRF_ERROR_INVALID_PARAM if characteristic properties is not notify
- NRF_ERROR_INVALID_STATE if it is not connected and/or cccd is not enabled for notification
- ERROR_NONE if could sending out notification message
2017-02-24 23:06:18 +07:00
hathach
52d8654525
fix notify crash if not connected
...
start to add PIN support
2017-02-24 22:36:58 +07:00
hathach
4bffc65b9e
add check for characteristic max_len
2017-02-24 12:10:12 +07:00
hathach
dd57126e93
move saveCCCD() to disconnect event
2017-02-23 23:59:23 +07:00
hathach
136f46331a
add CCCD Write callback for BLECharacteristic
2017-02-21 17:24:23 +07:00
hathach
5766aa3d10
add BLECharacteristic::setTempMemory() to explicitly exclude chars from managing table
2017-01-25 01:09:49 +07:00
hathach
ce76cc5405
change NRF_SUCCESS to ERROR_NONE
2017-01-21 01:19:58 +07:00
hathach
5042dbc00d
correct lastService and Parent Service behavior
2017-01-21 01:11:30 +07:00
hathach
113f8ed5b8
tested BLE Hid keyboard
2017-01-20 22:30:01 +07:00
hathach
01b5cc059d
testing HID Keyboard
2017-01-20 17:38:51 +07:00
hathach
90a1bebe2c
starting to add BLEHid support
2017-01-20 00:36:37 +07:00
hathach
b278db8755
use counting semaphore for tx buf management
2017-01-06 23:47:29 +07:00
hathach
f9828071fa
rename to Bluefruit52Lib
2017-01-06 22:33:33 +07:00