File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
libraries/Bluefruit52Lib/src Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 29
29
- Add BLEClientUart& reference pointer BLEClientUart's RX callback
30
30
- Add new BLEClientCts for client Current Time Service
31
31
- Add bufferTXD() to BLEUart service to handle consecutive small write()
32
+ - Add EddyStoneUrl support
33
+ - New example `Peripheral\eddystone_url`
32
34
33
35
### BLEAdvertising
34
36
Original file line number Diff line number Diff line change @@ -281,6 +281,11 @@ bool BLEAdvertising::setBeacon(BLEBeacon& beacon)
281
281
return beacon.start (*this );
282
282
}
283
283
284
+ bool BLEAdvertising::setBeacon (EddyStoneUrl& eddy_url)
285
+ {
286
+ return eddy_url.start ();
287
+ }
288
+
284
289
void BLEAdvertising::restartOnDisconnect (bool enable)
285
290
{
286
291
_start_if_disconnect = enable;
Original file line number Diff line number Diff line change 42
42
43
43
#include " BLEUuid.h"
44
44
#include " BLEService.h"
45
+
45
46
#include " services/BLEBeacon.h"
47
+ #include " services/EddyStone.h"
46
48
47
49
/* Advertising Guideline from Apple
48
50
* https://developer.apple.com/library/content/qa/qa1931/_index.html
@@ -108,6 +110,7 @@ class BLEAdvertising : public BLEAdvertisingData
108
110
void setIntervalMS (uint16_t fast, uint16_t slow);
109
111
110
112
bool setBeacon (BLEBeacon& beacon);
113
+ bool setBeacon (EddyStoneUrl& eddy_url);
111
114
112
115
bool isRunning (void );
113
116
You can’t perform that action at this time.
0 commit comments