Commit Graph
116 Commits
Author SHA1 Message Date
hathach abeb3825db separated TX packet to HVN and Write CMD packet 2017-10-06 11:00:18 +07:00
hathach 4bdc36279b more migration 2017-10-05 18:48:46 +07:00
hathach e341f51e22 add HVN queue config 2017-10-05 17:23:07 +07:00
hathach 9421a43b80 rename BLE_GATT_ATT_MTU_DEFAULT 2017-10-05 16:05:35 +07:00
hathach 4a0b0caaf8 add firmware ID for S132 v500 2017-10-03 19:46:48 +07:00
hathach 509d55f9a5 Add Adacallback as part of the repo and initial task 2017-09-15 16:40:14 +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 b2585f1753 change log lv at some files 2017-08-08 15:53:36 +07:00
hathach 2528b45480 clean up 2017-07-27 00:11:26 +07:00
hathach fdc0547f3e clean up 2017-07-26 12:01:24 +07:00
hathach ba1aa3915b more clean up 2017-07-24 15:53:15 +07:00
hathach 051c2216c8 print devname for paired device in printInfo 2017-07-24 15:46:02 +07:00
hathach 8b04d80a2b clean up 2017-07-24 15:25:47 +07:00
hathach 887d6a6541 improve saving bonding information
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach 25df80d805 clean up 2017-07-22 00:09:08 +07:00
hathach 161e4d4de8 [advertising] fast mode will blink Blue LED 2x slow mode 2017-07-21 23:22:03 +07:00
hathach cd2da96afb added bond debug when at level 2 2017-07-20 13:55:57 +07:00
hathach 48718392c3 fix nffs_inode_read_filename does not update out_full_len 2017-07-20 13:32:05 +07:00
hathach b09a235f55 update changelog 2017-07-19 13:53:04 +07:00
hathach 2e886d43df user ada msg for Discovery 2017-07-19 12:47:21 +07:00
hathach 56366d4b2e minor 2017-07-18 21:46:09 +07:00
hathach 673f1821ac add GAP getAddr and setAddr
add Bluefruit.printInfo()
2017-07-18 14:26:22 +07:00
hathach 27ef26024b change Bluefruit.getName() signature 2017-07-18 12:14:12 +07:00
hathach d7fe49b4c3 move callback from BLEGap back to Bluefruit & BLECentral 2017-07-15 00:38:25 +07:00
hathach 78f3be6dfa add BLECentral disconnect() 2017-07-13 18:32:31 +07:00
hathach a3aef999cc improving scanner 2017-07-12 21:31:58 +07:00
hathach 8576dbb406 add startIfDisconnect() 2017-07-12 17:18:34 +07:00
hathach a96bcc04d2 code clean up 2017-07-12 16:52:17 +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 80683cfafe minor change 2017-07-11 18:10:53 +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 3e00bdafa4 fix typo 2017-07-11 12:33:57 +07:00
hathach f74c723af7 add connHandle() for client char 2017-07-10 20:55:05 +07:00
hathach 74b032b880 update GAP to support multiple connections 2017-07-10 16:45:17 +07:00
hathach d3715de869 fix setName() 2017-06-22 20:56:47 +07:00
hathach 249a355584 change return type of setConnInterval() from err_t to bool 2017-04-08 17:27:55 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +07:00
hathach 1d9d23ddce start to add callback task 2017-04-01 01:17:42 +07:00
hathach f4b4ec0470 introduce BLEGap to manage part of GAP events 2017-03-30 22:59:20 +07:00
hathach a974333516 rename Bonded to Paired 2017-03-30 21:33:25 +07:00
hathach 3c0f3e84f1 introduce BLEGatt class 2017-03-30 16:36:59 +07:00
hathach bd013738b9 add requestBonding 2017-03-30 15:26:35 +07:00
hathach e8873a43e7 able to discover ancs on iphone 2017-03-30 14:59:37 +07:00
hathach d5a8e8a738 wrap up discovery 2017-03-30 00:09:20 +07:00
hathach 1cc6654adf clean up notify API 2017-03-27 20:09:40 +07:00