Commit Graph
45 Commits
Author SHA1 Message Date
hathach 608cde9b85 update bootloader binaries and multiple clean up 2018-10-30 19:43:38 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach 694e48f8ca fix build error, add error of SD v6 2018-05-21 17:43:56 +07:00
hathach bba9ae1d12 Merge branch '0.8.x' into develop 2018-04-03 17:15:33 +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 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
hathach 203d9bd3f3 update configCentralConn value 2018-02-23 23:24:18 +07:00
hathach e1c78409c2 correct parameter for pairing in central role 2018-02-23 14:45:10 +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 4fab39f26a improving bonding management 2018-02-14 00:22:40 +07:00
hathach cfc89188d7 clean up 2018-01-08 13:06:34 +07:00
hathach d830129836 removing S132 v2.0.1 support 2018-01-08 11:57:21 +07:00
hathach e3a1b895fd fix firmata sketch issue 2017-12-22 17:15:03 +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 92dc3ed5eb done with config clean up 2017-12-15 20:59:23 +07:00
hathach bf3c11c723 more config clean up 2017-12-15 19:58:55 +07:00
hathach 80313c704b clean up config 2017-12-15 19:17:02 +07:00
hathach 1f15da7ae0 Enable data length extension 2017-12-14 16:57:19 +07:00
hathach 4970eb116c implement HAP write value and read value response
improve debug visibility
2017-10-26 14:46:22 +07:00
hathach 0f17739b2d change the linker memory for homekit 2017-10-25 22:53:44 +07:00
hathach ec263bbe8d implement configurable ATT MTU #81 2017-10-10 15:16:30 +07:00
hathach 3d1520096e add BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST 2017-10-09 23:24:14 +07:00
hathach 9cf9035434 clean up 2017-10-09 23:05:30 +07:00
hathach abeb3825db separated TX packet to HVN and Write CMD packet 2017-10-06 11:00:18 +07:00
hathach 5701e5944a migrate BLE_EVT_TX_COMPLETE to HVN & WRITE_CMD.
TODO still need to seperate WRITE_CMD from HVN
2017-10-05 17:22:37 +07:00
hathach 9421a43b80 rename BLE_GATT_ATT_MTU_DEFAULT 2017-10-05 16:05:35 +07:00
hathach ed3776ee31 migrate S132 5.0.0
- sd_ble_gap_address_get & sd_ble_gap_address_set
2017-10-05 15:43:48 +07:00
hathach 2b3be764e2 add getMTU() to Gap 2017-07-26 15:39:06 +07:00
hathach 887d6a6541 improve saving bonding information
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach 673f1821ac add GAP getAddr and setAddr
add Bluefruit.printInfo()
2017-07-18 14:26:22 +07:00
hathach d7fe49b4c3 move callback from BLEGap back to Bluefruit & BLECentral 2017-07-15 00:38:25 +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 9c7870580c minor clean up 2017-07-11 18:12:57 +07:00
hathach cb589bd7e7 clean up 2017-07-11 14:31:37 +07:00
hathach 3fa85cc1b4 clean up 2017-07-11 13:58:22 +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 9a74a6f300 more central support
- rename BLE_GAP_MAX_CONN to BLE_MAX_CONN
- change rx callback of BLEClientUart
- better support multiple connection
2017-07-10 23:39:18 +07:00
hathach 74b032b880 update GAP to support multiple connections 2017-07-10 16:45:17 +07:00
hathach f973a13aaf rename 2017-07-10 12:56:55 +07:00
hathach 226c99ab0c implement #41
read peer Gap Device Name
2017-07-08 00:29:38 +07:00
hathach 006f74aade clean up 2017-03-31 22:51:20 +07:00
hathach f4b4ec0470 introduce BLEGap to manage part of GAP events 2017-03-30 22:59:20 +07:00