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
hathach
91f6de09f8
clean up
2018-01-02 16:03:46 +07:00
hathach
e3a1b895fd
fix firmata sketch issue
2017-12-22 17:15:03 +07:00
hathach
1d94b165db
Merge branch 'master' into s132v5
2017-12-22 14:15:11 +07:00
hathach
3d68b5ed71
fix build error
2017-12-22 14:04:28 +07:00
hathach
43b7637a60
add configPrphBandwidth() and configCentralBandwidth()
2017-12-22 13:40:10 +07:00
hathach
f39421f4ef
Move Conn Cfg into BLEGap
2017-12-21 22:52:10 +07:00
hathach
bb7392ae36
separate prph and central connection bandwidth setting
...
- add configPrphConn() and configCentralConn() for setting bandwidth for
prph and central connection. These replace configMaxMtu(),
configGapEventLen(), configHvnTxQueue(), configWriteCmdQueue()
- fix concurrent connection config
- central_uart_multi works with S132 v5
2017-12-21 14:40:44 +07:00
hathach
857455d9e4
fix issue with central_uart sketch
2017-12-21 00:28:50 +07:00
hathach
3ac15c4574
BLE config refactor
...
- enhance the SRAM usage based on prph & central mode with respect to
user config.
- change Bluefruit.begin(bool, bool) to (uint8_t, uint8_t) as number of
prph & central connections.
2017-12-20 22:59:35 +07:00