hathach
206e28d501
clean up
2018-10-18 17:54:07 +07:00
hathach
8c7a6785d1
migrate the whole bonding to lfs
2018-10-18 17:52:27 +07:00
hathach
c66784b6e8
more bonding migration to lfs
2018-10-18 17:34:28 +07:00
hathach
fd08837c9c
update bond clear/remove
2018-10-18 17:11:39 +07:00
hathach
7a6220146f
using lfs for bonding. Add rmdir_r()
2018-10-18 17:10:59 +07:00
hathach
4482a07bbf
adding lfs
2018-10-15 23:44:40 +07:00
hathach
4ba267cffb
new simple bonding work
2018-10-09 14:34:18 +07:00
hathach
fd07ab48da
fix a build error
2018-10-02 17:03:52 +07:00
hathach
e6929fd3e2
flush when saving bond
2018-09-28 01:43:05 +07:00
hathach
bed0a8f91f
update flash_nrf52 to support sd
2018-09-28 00:59:36 +07:00
hathach
2c08159af8
removing nffs, use new flash API for storing bonds
2018-09-27 17:11:47 +07:00
hathach
4640481d02
update Copyright year to 2018
2018-07-27 16:20:36 +07: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
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
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
dcbecb8b5f
complete move all bond function to bonding.cpp
2018-02-22 14:51:10 +07:00
hathach
4fab39f26a
improving bonding management
2018-02-14 00:22:40 +07:00
hathach
a70d157656
add isWaiting for AdaMsg
2018-01-17 21:41:29 +07:00
hathach
c53d337350
move adacallback to core repo
2017-09-15 16:32:04 +07:00
hathach
0101bcc8fc
complete refactor AdaCallback to generic arguments
2017-09-15 16:24:45 +07:00
hathach
725cea11ff
refactor AdaCallback
...
- replace BLEGap connect_callback_t with adacb_1arg_t
- replace BLEGap disconnect_callback_t with adacb_2arg_t
2017-09-15 02:44:34 +07:00
hathach
a8496fcaf1
refactor AdaCallback
...
- use BLEGap connect_callback_t as adacb_1arg_t
2017-09-15 02:34:23 +07:00
hathach
37d53cbe2a
clean up
2017-09-15 02:25:47 +07:00
hathach
c036808000
refactor ada callback
...
remove BLEScanner::rx_callback_t to adacb_worker_1arg_t
2017-09-15 02:23:44 +07:00
hathach
da4125c910
refactor AdaCallback
...
remove BLEAdvertising stop_callback_t
2017-09-15 02:15:59 +07:00
hathach
887d6a6541
improve saving bonding information
...
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach
68d9e7bac5
add deferred support to ada callback
2017-07-24 14:23:49 +07:00
hathach
2e886d43df
user ada msg for Discovery
2017-07-19 12:47:21 +07:00
hathach
e42063bd82
use ada_callback for scanner callback
...
also increase ada callback queue depth to 20
2017-07-13 17:44:02 +07:00
hathach
6061482e80
update scanner
2017-07-12 21:55:51 +07:00
hathach
0302d88a7a
enhance advertising
...
- Separate BLEAdvertisingData & BLEAdvertising
- add setType(), setTimeout(), setInterval(), setIntervalMS()
- add setStopCallback() support
- Add option to only advertising for a specific time (in multiple of
timeout) using start(stop_sec)
- default timeout = 30 second, fast = 20 ms, slow = 152.5 ms
2017-07-12 13:40:15 +07:00
hathach
90db83ef32
Add conn handle to Bluefruit's connect and disconnect prototype
...
move connect and disconnect into BLEGap
2017-07-11 13:56:50 +07:00
hathach
c8b774d1b7
Bluefruit disconnect invoked in callback thread
2017-07-11 12:43:02 +07:00
hathach
4ff746a7f7
move AdaCallback files
2017-07-11 12:36:31 +07:00
hathach
6053993a7b
clean up
2017-07-08 00:27:54 +07:00
hathach
868395efce
allow to change optimization level with debug mode
2017-07-05 14:08:53 +07:00
hathach
89647bd02c
[ancs] add high level getMessageSize(),
...
implement using AdaMsg
2017-04-14 18:01:23 +07:00
hathach
ae20fa0176
Adding BLEClientDis
...
- add get/set HandleRange for BLEDiscovery
- implement destructor for BLEClientCharacteristic
- add BLEGatt::_removeCharacteristic(client)
-
2017-04-13 17:22:49 +07:00
hathach
7933ddff68
clean up
2017-04-13 14:40:29 +07:00
hathach
c3ca58cba3
wrap up AdaMsg
2017-04-13 14:24:47 +07:00
hathach
0e51209b3a
rename AdaMess to AdaMsg
2017-04-13 13:35:10 +07:00
hathach
961cc90457
wrap up AdaMess
2017-04-13 13:34:09 +07:00
hathach
4bef49bd29
add AdaMess class
2017-04-13 12:23:36 +07:00
hathach
f62daa12fd
newline correction
2017-04-08 16:31:25 +07:00
hathach
4d64064f5d
moving files
2017-01-11 14:01:30 +07:00
hathach
09ae3f22ce
move files around
2017-01-11 13:56:45 +07:00
hathach
9dbaf7cd49
clean up
2017-01-11 13:43:58 +07:00
hathach
bc6c61da9a
move Bluefruit libraries services out of utility
2017-01-11 13:42:40 +07:00