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 more

    Declaration

    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

    endpointID is being deprecated in the near future, please use smsn instead.

    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 name on scan for SidewalkDevice since it is rather unreliable and endpointID should be enough for scan filtering.

    Declaration

    Swift

    public var nameFilter: String? { get }