Commit Graph
443 Commits
Author SHA1 Message Date
hathach 6c32bd8ff7 Merge pull request #177 from airbornemint/setConnSupervisionTimeout
Add a way to set connection supervision timeout
2018-09-01 22:58:13 +07:00
Ben Artin 67ce3062bf Added setConnSupervisionTimeout[MS] 2018-09-01 11:47:21 -04:00
Ben Artin 6c22010f62 Renamed BLEGATT_ATT_MTU_MAX
to BLE_GATT_ATT_MTU_MAX for consistency
2018-08-26 19:51:30 -04:00
hathach 1d301d5c5a implement hid keyboard led set #166 2018-08-01 17:54:55 +07:00
Sean Wilson 644c0a247d Fix crash caused by incorrectly formatted device reports. 2018-04-06 10:50:15 -04:00
hathach 7ddfde20e6 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2018-04-05 12:20:36 +07:00
hathach ad9de729ad Merge pull request #125 from greggian/dfu_typo
Fix dfu temp memory typo
2018-03-01 10:57:17 +07:00
Greg Gianforcaro 4181976b91 Fix dfu temp memory typo 2018-02-28 17:22:12 -05:00
Greg Gianforcaro aad3697f42 Fix setWriteAuthorizeCallback typo 2018-02-28 17:19:52 -05:00
Kevin Townsend eebeb04da8 Merge pull request #123 from hracetech/patch-1
Update BLEUuid.h
2018-02-26 12:52:24 +01:00
hathach 231f862338 enhance bonding process
- auto remove obsolete key on central and re-try with a fresh session.
2018-02-26 17:49:12 +07:00
hathach f3136abcda improve bonding with on-the-fly semaphore
enhance central bond
2018-02-26 17:30:14 +07:00
hathach 393ee6cf1d renamed bonded to paired 2018-02-26 15:18:58 +07:00
hathach a05d467686 enhance bonding management
- seperate bond folder for prph and central
- use mac address if couldn't get peer name when saving bond data
2018-02-26 15:11:13 +07:00
hracetech 49b0924a2a Update BLEUuid.h
UUID for Cycling Power Service added...
2018-02-25 18:48:37 +01:00
hathach 203d9bd3f3 update configCentralConn value 2018-02-23 23:24:18 +07:00
hathach f16576b70c central keyboard work with polling method
- central bonding still needs some more work for reconnection.
2018-02-23 18:54:18 +07:00
hathach 1fd9cbedc5 add HID_KEYCODE_TO_ASCII decode 2018-02-23 18:53:18 +07:00
hathach 049a0afc5c enhance blehid generic to support protocol boot mode 2018-02-23 15:48:03 +07:00
hathach 7cead72726 enhance hid service 2018-02-23 15:01:30 +07:00
hathach e1c78409c2 correct parameter for pairing in central role 2018-02-23 14:45:10 +07:00
hathach 0e74a76c0a more clean up 2018-02-22 23:47:41 +07:00
hathach c4e25295e2 move pairing event handle code to BLEGap
- add bond_init()
- move thing around
2018-02-22 23:38:41 +07:00
hathach 86ea7e7ae5 more clean up 2018-02-22 15:10:44 +07:00
hathach acd4abec1d clean up 2018-02-22 14:56:36 +07:00
hathach cf3132b997 Merge branch 'master' into 0.8.x 2018-02-22 14:51:50 +07:00
hathach dcbecb8b5f complete move all bond function to bonding.cpp 2018-02-22 14:51:10 +07:00
Robert Hodaszi 45b4e58a6a BLEHidGeneric: fix missing writeN() function update
Otherwise getting the following error:
uint16_t BLECharacteristic::write(const void*, uint16_t): 431: verify failed, error = NRF_ERROR_INVALID_ADDR

Signed-off-by: Robert Hodaszi <hodrob84@gmail.com>
2018-02-21 16:48:56 +01:00
hathach 4fab39f26a improving bonding management 2018-02-14 00:22:40 +07:00
hathach a092479f60 more central hid code 2018-02-12 16:08:25 +07:00
hathach 98e69635ee adding hid central 2018-02-12 15:17:23 +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 96c7689e05 add send confirm to indicate 2018-01-18 15:09:52 +07:00
hathach d0655b369d change BLECLientCharacteristic notify callback signature
from
notify_cb(BLEClientCharacteristic& chr, uint8_t* data, uint16_t len)
to
notify_cb(BLEClientCharacteristic* chr, uint8_t* data, uint16_t len)

Added
2018-01-18 15:07:39 +07:00
hathach 4747a9b7ae add useAdaCallback option to setNotifyCallback(), setIndicateCallback() for client char 2018-01-18 14:00:04 +07:00
hathach 20a2db556c add indicate API, add getCccd to BLECharacteristic 2018-01-17 21:43:57 +07:00
hathach a70d157656 add isWaiting for AdaMsg 2018-01-17 21:41:29 +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 b8912a4f24 update code to use writeN() 2018-01-05 13:37:54 +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 a6acaf573f clean up 2018-01-05 00:52:13 +07:00
hathach 8e153e3588 add read8,16,32, write8,16,32, write_resp8,16,32 2018-01-05 00:26:01 +07:00
hathach 0003e1af6e client characteristic rename assign, discoverDescriptor for internal ussage 2018-01-04 18:57:41 +07:00
hathach 0133b05fd7 add discover() to client characteristic
- add getHandleRange to client service
2018-01-04 18:42:37 +07:00
hathach 78b3906ec1 rename isValid() to discovered() 2018-01-04 12:03:45 +07:00
hathach 697bbcab18 added central_custom_hrm
add BLECLientCharacteristic isValid() and read 8,16, 32 bit
2018-01-03 16:23:09 +07:00
hathach 2ca6a28d48 fix #110 2018-01-03 13:04:39 +07:00
hathach 9029bf6b2e fix weekday for client_cts example 2018-01-02 21:49:25 +07:00