fork microbit-dal
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
MicroBitEddystone Class Reference
Class definition for the MicroBitEddystone. More...
#include <MicroBitEddystone.h>
Public Member Functions | |
| int | setURL (BLEDevice *ble, const char *url, int8_t calibratedPower=0xF0) |
| Set the content of Eddystone URL frames. | |
| int | setURL (BLEDevice *ble, ManagedString url, int8_t calibratedPower=0xF0) |
| Set the content of Eddystone URL frames, but accepts a ManagedString as a url. | |
Detailed Description
Class definition for the MicroBitEddystone.
Definition at line 44 of file MicroBitEddystone.h.
Member Function Documentation
| int setURL | ( | BLEDevice * | ble, |
| ManagedString | url, | ||
| int8_t | calibratedPower = 0xF0 |
||
| ) |
Set the content of Eddystone URL frames, but accepts a ManagedString as a url.
- Parameters:
-
url The url to broadcast calibratedPower the transmission range of the beacon (Defaults to: 0xF0 ~10m).
- Note:
- The calibratedPower value ranges from -100 to +20 to a resolution of 1. The calibrated power should be binary encoded. More information can be found at https://github.com/google/eddystone/tree/master/eddystone-uid#tx-power
Definition at line 158 of file MicroBitEddystone.cpp.
| int setURL | ( | BLEDevice * | ble, |
| const char * | url, | ||
| int8_t | calibratedPower = 0xF0 |
||
| ) |
Set the content of Eddystone URL frames.
- Parameters:
-
url The url to broadcast calibratedPower the transmission range of the beacon (Defaults to: 0xF0 ~10m).
- Note:
- The calibratedPower value ranges from -100 to +20 to a resolution of 1. The calibrated power should be binary encoded. More information can be found at https://github.com/google/eddystone/tree/master/eddystone-uid#tx-power
Definition at line 93 of file MicroBitEddystone.cpp.
Generated on Tue Jul 12 2022 18:28:22 by
1.7.2
