The pod name is changed from IMLChannelCore to IotLinkKit. This ensures the naming consistency between the Link SDK for iOS and the Link SDK for Android or Java.

API updates in Link SDK for iOS 1.2.0

SDK name

Program entry point

In the IMLChannelCore SDK, the AlinkIoTExpress/LKIoTExpress class is used as the program entry point. However, the IotLinkKit/LinkKitEntry class is used as the program entry point in the IotLinkKit SDK.

Mappings of API operations between two SDKs

API featureIotLinkKit SDKIMLChannelCore SDK
Initialize the SDK to establish a connection[setup:resultBlock:][startConnect:connectListener:]
Deinitialize the SDK to disconnect the current connection[destroy:][stopConnect:]
Register a channel message listener[registerChannelListener:][addDownstreamListener]
Unregister a channel message listener[unregisterChannelListener:][removeDownStreamListener:]
Send upstream data[publish:data:qos:resultBlock:][uploadData:data:qos:complete:] or [publish:params:complete:]
Subscribe to a topic[subscribe:resultBlock:][subscribe:complete:]
Unsubscribe from a topic[unsubscribe:resultBlock:][unsubscribe:complete:]

Manage sub-devices

The latest SDK provides an API operation that is used to manage sub-devices. The header file is IotLinkKit/LinkkitGateway.h. For more information, see the Manage sub-devices topic.