Commit Graph
151 Commits
Author SHA1 Message Date
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 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 86ea7e7ae5 more clean up 2018-02-22 15:10:44 +07:00
hathach acd4abec1d clean up 2018-02-22 14:56:36 +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 3d68b5ed71 fix build error 2017-12-22 14:04:28 +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 bb7392ae36 separate prph and central connection bandwidth setting
- add configPrphConn() and configCentralConn() for setting bandwidth for
prph and central connection. These replace  configMaxMtu(),
configGapEventLen(), configHvnTxQueue(), configWriteCmdQueue()
- fix concurrent connection config
- central_uart_multi works with S132 v5
2017-12-21 14:40:44 +07:00
hathach 3ac15c4574 BLE config refactor
- enhance the SRAM usage based on prph & central mode with respect to
user config.
- change Bluefruit.begin(bool, bool) to (uint8_t, uint8_t) as number of
prph & central connections.
2017-12-20 22:59:35 +07:00
hathach 97427bbf6b update debug log 2017-12-20 15:07:27 +07:00
hathach 5607011996 update debug.cpp
- added error string
- reduce default attr table size from 0xb00 to 0x800
2017-12-20 14:10:38 +07:00
hathach 6664ebfef7 add set/get Apperance 2017-12-16 00:01:58 +07:00
hathach 2ddfe623f7 more clean up 2017-12-15 20:38:18 +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 ecc250eb27 add series of SoftDevice config function 2017-12-15 16:19:59 +07:00
hathach 1f15da7ae0 Enable data length extension 2017-12-14 16:57:19 +07:00
hathach 7aee2a2c72 clean up 2017-12-14 00:39:58 +07:00
hathach 2c73449888 update bootloader 5.1.0 2017-12-13 16:01:43 +07:00
hathach ea73d76513 add printBufferReverse 2017-11-22 09:11:24 +07:00
hathach f930d496a7 clean up 2017-11-08 16:50:33 +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 cb5c93db4e swap endian for MAC when printing info 2017-10-14 22:01:07 +07:00
hathach ec263bbe8d implement configurable ATT MTU #81 2017-10-10 15:16:30 +07:00
hathach 8d04c410e9 fix event logging issue 2017-10-09 17:42:03 +07:00
hathach d838b91e29 add bandwidth option 2017-10-09 17:18:55 +07:00
hathach f2e1aa7fe4 SRAM enhancement 2017-10-09 15:19:47 +07:00
hathach 866c20ecf4 disable bandwidth configure 2017-10-06 13:20:42 +07:00
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