Commit Graph
35 Commits
Author SHA1 Message Date
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach bba9ae1d12 Merge branch '0.8.x' into develop 2018-04-03 17:15:33 +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 0e74a76c0a more clean up 2018-02-22 23:47:41 +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 a092479f60 more central hid code 2018-02-12 16:08:25 +07:00
hathach 9e0a6ff775 enhance indicat API() to wait for confirm or timeout from peer. 2018-01-30 14:27:38 +07:00
hathach 62b80b084b clean up 2018-01-25 14:58:04 +07:00
hathach 91f6de09f8 clean up 2018-01-02 16:03:46 +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 ec263bbe8d implement configurable ATT MTU #81 2017-10-10 15:16:30 +07:00
hathach 9cf9035434 clean up 2017-10-09 23:05:30 +07:00
hathach d838b91e29 add bandwidth option 2017-10-09 17:18:55 +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 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