SidewalkDevice

An object encapsulating attributes of an Amazon 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 (SMSN) for an unregistered device.

truncatedSmsn

The truncated Sidewalk Manufacturing Serial Number (SMSN) value (5-Byte hex string).

fullSmsn

The full length Sidewalk Manufacturing Serial Number (SMSN) value (32-Byte hex string).

rssi

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

beaconInfo

Additional information contained within the Amazon 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 fullSmsn: String?
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
Link copied to clipboard
val truncatedSmsn: String