SidewalkDevice
public struct SidewalkDevice
extension SidewalkDevice: SidewalkDeviceDescriptor
An object encapsulating attributes of an Amazon Sidewalk device.
When a SidewalkDevice is provided for SidewalkDeviceDescriptor,
Amazon Sidewalk Mobile SDK ignores nameFilter since the name value is rather unreliable
and endpointID should be enough for scan filtering.
-
An object encapsulating information contained within the Amazon Sidewalk Beacon.
See moreDeclaration
Swift
public struct BeaconInfo -
The UUID associated with the peripheral.
Declaration
Swift
public var identifier: UUID -
The hardware ID of the device. This could be Sidewalk ID for a registered device or Sidewalk Manufacturing Serial Number(
SMSN) for an unregistered device.Note
endpointIDis being deprecated in the near future, please usesmsninstead.Declaration
Swift
public var endpointID: String -
The full length Sidewalk Manufacturing Serial Number(
SMSN) value (32-Byte hex string).Declaration
Swift
public var fullSmsn: String? -
The truncated Sidewalk Manufacturing Serial Number(
SMSN) value (5-Byte hex string).Declaration
Swift
public var truncatedSmsn: String -
The advertised name of the Amazon Sidewalk device.
Declaration
Swift
public var name: String? -
The RSSI value of the Amazon Sidewalk device when scanned.
Declaration
Swift
public var rssi: Int -
Additional information contained within the Amazon Sidewalk beacon.
Declaration
Swift
public var beaconInfo: BeaconInfo -
Empty string will be treated as nil for
endpointIDFilter.Declaration
Swift
public var endpointIDFilter: String? { get } -
Not filter with
nameon scan forSidewalkDevicesince it is rather unreliable andendpointIDshould be enough for scan filtering.Declaration
Swift
public var nameFilter: String? { get }