Commit Graph
77 Commits
Author SHA1 Message Date
hathach 64e176b7cd more warnings clean up 2019-06-07 15:27:57 +07:00
hathach b99cae32b6 fix #276 rename macro FILE_READ/WRITE to enum FILE_O_READ/WRITE
to avoid conflict with other filesystem define
2019-05-30 18:09:07 +07:00
hathach 187ddc6058 move InternalFS to its own subclass of LFS 2019-05-30 16:48:48 +07:00
hathach 063a668a04 rename lfs namespace 2019-05-29 17:25:40 +07:00
hathach 3d33680ccf removing Fatfs for external filesystem 2019-05-24 23:50:29 +07:00
hathach 5f06fd2fd9 move getPeerName to BLEConnection 2019-04-05 12:59:50 +07:00
hathach e13922c58b enhance ada_callback, add malloc len for cleaner usage 2019-02-14 12:50:17 +07:00
hathach 3730a7dd89 Gap.getPeerName() is replaced by Bluefruit.getPeerName() 2019-01-24 15:01:53 +07:00
hathach 5ca4309ec2 move whole pairing process into bleconnection 2019-01-19 01:32:08 +07:00
hathach a63b676f27 rename FileIO.h to Bluefruit_FileIO to prevent lib conflict 2018-11-19 13:17:27 +07:00
hathach 123c3080c3 clean up, replace cprintf by std printf (with _write hook) 2018-11-02 20:17:33 +07:00
hathach d53d59e522 bond clean up 2018-10-31 15:04:15 +07:00
hathach e48db4c757 clean up bonding 2018-10-31 12:25:30 +07:00
hathach 35372d8fab rename bond_data to bond_keys 2018-10-31 11:53:24 +07:00
hathach 751195fc17 fix a bonding issue with load cccd 2018-10-30 19:43:57 +07:00
hathach db6206864b more clean up 2018-10-19 15:10:25 +07:00
hathach 3361e5acf2 rename flash_nrf52 to flash_nrf5x 2018-10-19 15:09:26 +07:00
hathach 597cd8c635 fix bonding cccd offset 2018-10-19 14:56:53 +07:00
hathach ec007902c3 bond save and load key with lfs is OK 2018-10-19 14:51:42 +07:00
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