add BLEBeacon support
This commit is contained in:
1 parent
c4f98edb17
commit
991497ec56
6 files changed
+201
-2
No files matched your search
@@ -245,6 +245,11 @@ bool AdafruitBluefruit::addAdvFlags(uint8_t flags)
|
||||
return addAdvData(BLE_GAP_AD_TYPE_FLAGS, &flags, 1);
|
||||
}
|
||||
|
||||
bool AdafruitBluefruit::setAdvBeacon(BLEBeacon& beacon)
|
||||
{
|
||||
return beacon.start();
|
||||
}
|
||||
|
||||
uint8_t AdafruitBluefruit::getAdvLen(void)
|
||||
{
|
||||
return _adv.count;
|
||||
|
||||
Reference in new issue
Block a user