Commit Graph
36 Commits
Author SHA1 Message Date
hathach 9eb616e334 enhance homekit advertising
update BLEAdvertisingData::addName()
2018-02-06 17:11:09 +07:00
hathach d830129836 removing S132 v2.0.1 support 2018-01-08 11:57:21 +07:00
hathach 2ca6a28d48 fix #110 2018-01-03 13:04:39 +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 faa0827c7d add advertising slow callback 2017-10-11 13:45:30 +07:00
hathach d2b00882de homekit advertising regconized 2017-10-11 12:59:14 +07:00
hathach 7695d8f4cc Adveritsing add multiple services API
- add Advertisable abstract class
2017-10-11 11:12:55 +07:00
hathach d838b91e29 add bandwidth option 2017-10-09 17:18:55 +07:00
hathach dc30b91a99 add #if for switching softdevice 2017-10-05 15:33:27 +07:00
hathach 3c7487070e migrate to S132 v500
- sd_ble_gap_connect
- sd_ble_gap_adv_start
2017-10-05 15:13:20 +07:00
hathach 0101bcc8fc complete refactor AdaCallback to generic arguments 2017-09-15 16:24:45 +07:00
hathach da4125c910 refactor AdaCallback
remove BLEAdvertising stop_callback_t
2017-09-15 02:15:59 +07:00
hathach 3f8b6ca538 add EddyStone URL support #66 2017-08-02 15:15:24 +07:00
hathach c1a427a9eb add EddyStone URL
Expand BLEAdvertising.addUuid() to take list of uuid
2017-08-02 15:03:07 +07:00
hathach 887d6a6541 improve saving bonding information
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach 161e4d4de8 [advertising] fast mode will blink Blue LED 2x slow mode 2017-07-21 23:22:03 +07:00
hathach 27ef26024b change Bluefruit.getName() signature 2017-07-18 12:14:12 +07:00
hathach a3aef999cc improving scanner 2017-07-12 21:31:58 +07:00
hathach e5d771e942 rename to restartOnDisconnect() 2017-07-12 20:21:38 +07:00
hathach ec3c2583f5 rename to advOnDisconnect() 2017-07-12 20:03:29 +07:00
hathach dd0d774931 rename API to isRunning() 2017-07-12 17:53:06 +07:00
hathach 7b92f86714 add isAdvertising() 2017-07-12 17:44:49 +07:00
hathach 8576dbb406 add startIfDisconnect() 2017-07-12 17:18:34 +07:00
hathach 1a060ab398 fix adv stop callback 2017-07-12 17:08:47 +07:00
hathach a14e575dd2 more clean up 2017-07-12 17:01:56 +07:00
hathach 8034f79236 slightly change advertising implementation 2017-07-12 16:29:37 +07:00
hathach fa4dcc0255 clean up 2017-07-12 13:49:41 +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 6e5f3f6082 clean up 2017-07-06 13:03:48 +07:00
hathach 98fc8f54be rename BLECentralService to BLEClientService 2017-04-12 13:26:28 +07:00
hathach ec9ea1ad6a add client service advertising 2017-03-29 18:28:42 +07:00
hathach 9ca48429cf change BLEUuid.size() to return number of bits instead of bytes 2017-03-22 15:02:44 +07:00
hathach 85ce580e9e fix typo 2017-03-21 14:48:19 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach 4101f96a2f correct beacon, wrap up advertising 2017-03-05 00:13:04 +07:00
hathach 9f3e2955cb add BLEAdvertising 2017-03-04 14:27:24 +07:00