Getting started with Amazon Sidewalk SDK APIs
Amazon Sidewalk Mobile iOS SDK provides a one-stop solution for everything related to Amazon Sidewalk on iOS mobiles. The initial release contains APIs including:
scan(),secureConnectDevice(),registerDevice(),deregisterDevice(), andclearAccountCache()inSidewalkto interact with end devices.subscribe(),write(),startCoverageTest(),isAvailable(), anddisconnect()inSidewalkConnectionto perform operations in a connection with an Amazon Sidewalk device.getToken()inSidewalkAuthProvidingto provide LWA token to Amazon Sidewalk Mobile SDK for communication with the Sidewalk cloud.log()inSidewalkLoggingto receive logs from Amazon Sidewalk Mobile SDK.
Start with the Sidewalk class to onboard to the public APIs supporting Amazon Sidewalk functionalities.
Setting up your app with Amazon Sidewalk Mobile iOS SDK
See https://docs.sidewalk.amazon/mobile-sdk/developer-guide/getting-started-sidewalk-mobile-ios-sdk/ to get started with Amazon Sidewalk Mobile iOS SDK. The document walks you through how to integrate Amazon Sidewalk Mobile iOS SDK into your iOS apps.
Testing with the Sidewalk Sample App
- Clone iOS sample app from GitHub https://github.com/amzn/amazon-sidewalk-ios-samples to a directory on your hard drive.
- Follow the steps in README https://github.com/amzn/amazon-sidewalk-ios-samples/blob/main/README.md to set up and run the sample app.