Classes
The following classes are available globally.
-
Main entry point to the Sidewalk Mobile SDK.
Provides access to Sidewalk device and Sidewalk cloud for registration, secure connection, deregistration, and clear account cache.
See more -
Represents a BLE connection with a Sidewalk device.
This class is created when the Sidewalk Mobile SDK is able to create a secure connection with a Sidewalk device.
The connection might be terminated by Sidewalk device if no traffic for an amount of time to prevent BLE resources occupation. The time is configurable by Sidewalk device.
Before releasing
SidewalkConnection
object, you should make sure the ongoing operation likestartCoverageTest
is properly cancelled by callingcancel()
on the correspondingSidewalkCancellable
object and waiting for the correspondingcompletion
closure to be invoked. Otherwise,cancel()
operation may be interrupted since the connection with Sidewalk device is disconnected.Note
This object automatically disconnects when deinitialized.