hathach
4c9316d0b6
correct rtos priority lower number = lower prio
2017-03-03 15:03:50 +07:00
hathach
e52c68bc51
clean up
2017-03-03 00:58:32 +07:00
hathach
c8bc1c1331
fix typos
2017-03-02 23:02:05 +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
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
33bd4ad8d6
implement #12
2017-02-27 17:37:11 +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
hathach
fe09320fb0
fix hrm
2017-02-25 08:24:23 +07:00
microbuilder
d8d6792b60
Switched to .setFixedLen
2017-02-24 19:03:29 +01:00
microbuilder
efb67c8261
Error handling cleanup
2017-02-24 19:01:02 +01:00
microbuilder
63d38ab461
Minor cleanup
2017-02-24 18:20:16 +01:00
thach ha
ee94becfc5
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2017-02-24 23:17:53 +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
microbuilder
ba8a98d0f0
Minor cleanup
2017-02-24 16:50:09 +01:00
hathach
52d8654525
fix notify crash if not connected
...
start to add PIN support
2017-02-24 22:36:58 +07:00
microbuilder
2de6846c28
Minor cleanup
2017-02-24 15:42:05 +01:00
microbuilder
0167d15ace
Minor cleanup
2017-02-24 15:36:38 +01:00
microbuilder
bd5e974565
Added CCCD update text
2017-02-24 13:42:36 +01:00
hathach
04796e294c
change hrmc flag back
2017-02-24 12:14:55 +07:00
hathach
4bffc65b9e
add check for characteristic max_len
2017-02-24 12:10:12 +07:00
microbuilder
36cfbe0106
Minor cleanup
2017-02-23 22:35:19 +01:00
microbuilder
a461435ae2
Example of custom service implementation
2017-02-23 22:16:59 +01: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
ff4c9f9493
add central bleuart example
2017-02-21 00:01:01 +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