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