SidewalkDevice

An object encapsulating attributes of a Sidewalk Device.

Parameters

name

the friendly Bluetooth name of the remote device.

address

the hardware address of this BluetoothDevice. For example, "00:11:22:AA:BB:CC".

endpointId

the hardware ID of the device. This could be a Sidewalk ID for a registered device or a Sidewalk Manufacturing Serial Number for an unregistered device.

rssi

received signal strength in dBm. The valid range is -127, 126.

beaconInfo

additional information contained within the Sidewalk Beacon.

Functions

Link copied to clipboard
open fun isEmpty(): Boolean

Return true if both nameFilter and endpointIdFilter are empty, false otherwise.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val address: String
Link copied to clipboard
Link copied to clipboard
val endpointId: String
Link copied to clipboard
open override val endpointIdFilter: String

A filter for the hardware ID of the device if present.

Link copied to clipboard
val name: String
Link copied to clipboard
open override val nameFilter: String

A filter for the advertised name of the device if present.

Link copied to clipboard
val rssi: Int