ACTON RocketSkates™, the world’s first smart electric skates, are designed to be lightweight, hands-free and tons of fun. RocketSkates are also packed with smart technology and they can connect with apps on users’ smartphones via Bluetooth.
This document introduces how to integrate ACTON RocketSkates SDK into your iOS app project.
本文档中文版: https://github.com/ActonInc/RocketSkates-iOS-SDK/tree/cn
ACTON RocketSkates uses Bluetooth Low Energy to communicate with smart phones. In order to utilize this SDK, your iOS project's target API level must be equal to or higher than iOS 6.0.
Also, please make sure your device have Bluetooth 4.0.
-
Download the latest version of ACTON RocketSkates SDK from our release page, or clone this project.
-
Copy
RocketSkates-iOS-SDK
under your project. -
Add
CoreBluetooth.framework
into your project. -
Then add
#include RocketSkates_iOS_SDK.h
wherever you want to use this SDK.
We created a sample project for you to start with:
- Scan for RocketSkates and connect to them.
- Retrieve RocketSkates' real-time status, and change their mode.
- Remote-control your RocketSkates.
You can download and run this demo project directly, and simply copy some of its code into your project.