hathach
36c5c3cfcc
add Helper class for NFFS file system
2017-02-28 22:04:03 +07:00
hathach
bf90ae6ae4
clean up code
2017-02-28 19:14:38 +07:00
hathach
7b6aee2d24
clean up
2017-02-28 19:06:54 +07:00
hathach
448835f8e4
implement midi write callback (not tested yet0
2017-02-28 18:58:40 +07:00
hathach
ee988a97c3
add midi write callback
2017-02-28 17:16:55 +07:00
hathach
f31b8ec41d
change characteristic write callback signature
2017-02-28 17:12:12 +07:00
hathach
1214c95bb8
get MIDI running
2017-02-28 15:29:26 +07:00
hathach
ff97880c62
Negotiate connection interval with central using preferred value
...
- add connInterval() to return actual connection interval in use
2017-02-28 15:28:47 +07:00
hathach
839f89af93
auto change connection interval to 11.25 - 15ms when starting BLEHidAdafruit
2017-02-28 15:20:29 +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
hathach
2bf4a57bee
comment out PIN authenticate
2017-02-27 15:40:24 +07:00
hathach
68bb79fa11
more about connected()
2017-02-26 09:37:44 +07:00
hathach
d4425a15c0
fix #16 correct connected()
2017-02-26 09:23:18 +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
046132edf6
Allow BLESerivce to have instance
...
- remove Bluefruit::addService
2017-02-24 02:12:54 +07:00
hathach
dd57126e93
move saveCCCD() to disconnect event
2017-02-23 23:59:23 +07:00
hathach
a08b5a79cc
rename central to Central
2017-02-23 21:21:45 +07:00
hathach
b194a62588
add support for bonded sharing to DFU, could force bonded only for security reason for DFU upgrade
2017-02-23 21:14:42 +07:00
hathach
c75998b5aa
clean up
2017-02-23 19:54:20 +07:00
hathach
4cd971fa61
move sys_attr (CCCD) into bond_data
2017-02-23 19:52:03 +07:00
hathach
95fb6b2747
update pairing/bonding. Able to pair/bond with windows 10
2017-02-23 14:56:10 +07:00
hathach
7fbe44cd31
update debug facilities
2017-02-22 01:28:49 +07:00
hathach
862d211d2c
clean up add connect/disconnect callback
2017-02-21 21:27:23 +07:00
hathach
0317b59c49
clean up
2017-02-21 17:24:33 +07:00
hathach
136f46331a
add CCCD Write callback for BLECharacteristic
2017-02-21 17:24:23 +07:00
hathach
a5a409d51c
clean up
2017-02-21 15:20:38 +07:00
hathach
40d1768020
adding BLE MIDI support
2017-02-21 14:27:09 +07:00
hathach
a3bb011e0e
Implement Central Connect, callback for connect/disconnect
2017-02-21 00:00:42 +07:00
hathach
1e2b632998
add Central connect(), seperate Central event handler
2017-02-20 16:22:51 +07:00
hathach
2583f234e6
Central add checkUuidInScan, extractScanData
...
update central scan demo to check Ble uart service
2017-02-20 15:40:57 +07:00
hathach
6950c98319
group central API into separate class for clarification
2017-02-20 12:35:23 +07:00
hathach
ecdc351087
update central to support up to 4 conn with 1 shared secure connection
...
- adjust SRAM for bluefruit & loop task
- adjust BLE_GATTS_ATTR_TABLE_SIZE from 0x1000 down to 0x0B00
2017-02-18 01:41:07 +07:00
hathach
2faf78ca9b
add basic central support
...
- scanning with callbacks
- add setConnLedInterval() to change period of auto led
2017-02-16 16:40:51 +07:00
hathach
b6b2539c30
rename ADV Scan to ScanResp to avoid central scan activity
2017-02-16 14:01:27 +07:00
hathach
ea69011f9e
add bleuart rx callback for user
2017-02-13 22:51:07 +07:00
hathach
7bc3809495
rename enableLedConn() to autoConnLed()
2017-02-10 20:10:21 +07:00
hathach
ba434a6c7d
add CFG_ADV_BLINKY_INTERVAL instead of hardcoded number
2017-02-10 20:09:18 +07:00
microbuilder
a642c1f637
Updated BLE LED blinky rate
2017-02-10 12:53:01 +01:00
hathach
08464a9d4d
update blinky pattern
...
- advertising : blinky at 250ms
- connected: solid on
- otherwise: off
2017-02-10 18:19:23 +07:00
hathach
5055b01229
clean up
2017-02-10 16:40:40 +07:00
hathach
13bb0e3066
add Mouse support for blehidadafruit
2017-02-10 16:24:47 +07:00
hathach
d86127990a
adding consumer key support
...
- correct Keyboard with 1 input & 1 output report
- hidgeneric report ID starting from 1, (index is from 0)
2017-01-25 15:22:14 +07:00
hathach
ffae8db151
updating demo
2017-01-25 14:45:11 +07:00
hathach
5766aa3d10
add BLECharacteristic::setTempMemory() to explicitly exclude chars from managing table
2017-01-25 01:09:49 +07:00
hathach
a6861aee31
clean up, update HID
2017-01-24 16:04:53 +07:00
hathach
4142ee63e4
separating BLEHidGeneric and BLEHidAdafruit
...
- adding support for output report
2017-01-24 14:10:14 +07:00
hathach
3148b1ec88
add connect/disconnect callback #8
2017-01-24 13:36:39 +07:00