Modifier and Type | Field and Description |
---|---|
String |
deviceName
Name the device advertises as
|
int |
interval
Time between each advertise event, in milliseconds (ms)
|
byte[] |
scanResponse
Scan response
|
short |
timeout
How long the device should advertise for with 0 indicating no timeout, in seconds (s)
|
byte |
txPower
BLE radio's transmitting strength
|
Constructor and Description |
---|
BleAdvertisementConfig() |
BleAdvertisementConfig(String deviceName,
int interval,
short timeout,
byte txPower,
byte[] scanResponse) |
public String deviceName
public int interval
public short timeout
public byte txPower
public byte[] scanResponse
public BleAdvertisementConfig()
public BleAdvertisementConfig(String deviceName, int interval, short timeout, byte txPower, byte[] scanResponse)