Commit Graph
94 Commits
Author SHA1 Message Date
hathach 3984c86902 fix some warnings
remove beacon blocking wait for Serial connection
2020-10-05 19:48:10 +07:00
ogatatsu 771b7cf38f fixed a bug that saved cccd data to a different offset after the second time. 2020-10-04 11:10:07 +09:00
Ha Thach 8acdb60510 Merge branch 'master' into develop 2020-03-20 10:29:36 +07:00
hathach c322f4c834 rename Bluefruit.Pairing to Bluefruit.Security 2020-03-19 17:39:40 +07:00
hathach 7cc1307517 central auto removes failed bond keys 2020-03-18 11:00:06 +07:00
hathach b487db9603 rename display callback to passkey callback 2020-03-16 13:22:13 +07:00
hathach 1a9415005b clean up bonding code 2020-03-14 16:43:16 +07:00
hathach e6bcfcb4c0 update bond remove keys 2020-03-14 16:07:40 +07:00
hathach 278f82aefe enhance save cccd, only write to flash if contents not matched 2020-03-14 14:27:56 +07:00
hathach 4653f9cdc3 save key dfr don't need malloc 2020-03-14 14:07:31 +07:00
hathach b5ca5d0387 reworking bonding, save/load using ID Address instead of ediv 2020-03-14 13:40:40 +07:00
hathach cd45f0adc2 move clearBonds() to PrPh 2020-03-14 11:47:27 +07:00
Henry Gabryjelski 2709813ea6 More printf() --> PRINTF() conversion 2020-03-11 16:39:59 -07:00
hathach 95fd6aaf36 bond debug 2020-02-17 10:11:43 +07:00
hathach 157664702c clean up 2020-02-13 11:29:39 +07:00
Henry Gabryjelski f3cc656b4c Fix printf format specifier to match length of data type. 2019-10-05 18:01:53 -07:00
hathach 940e902edd BLECharacteristic falls back to immed call if ada callback failed 2019-09-23 15:32:36 +07:00
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