public class EddystoneURL extends Eddystone
Eddystone.FrameType
Constructor and Description |
---|
EddystoneURL()
Constructor to create an instance with length=5, type=0x16
(Service Data - 16-bit UUID), service-UUID=0xFEAA (Eddystone),
frame-type=URL, tx-power=0, and URL=null.
|
EddystoneURL(int length,
int type,
byte[] data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getTxPower()
Get the calibrated Tx power at 0 m.
|
URL |
getURL()
Get the URL.
|
String |
toString() |
getFrameType
getServiceUUID
public EddystoneURL()
public EddystoneURL(int length, int type, byte[] data)
length
- The length of the AD structure.type
- The AD type. The value should always be 0x16
(Service Data - 16-bit UUID).data
- The AD data whose format is Eddystone UID.
The first two bytes should be 0xAA and 0xFE
(meaning Eddystone). The third byte should be 0x1?
(meaning Eddystone URL).Copyright © 2016. All rights reserved.