This sample app for iOS shows the basic use of HMKit to authenticate with the car emulator and send a command to it.
Before running the app, make sure to configure the following in ViewController.swift
:
- Initialise HMKit with a valid
Device Certiticate
from the Developer Center https://developers.high-mobility.com/ - Find an
Access Token
in an emulator from https://developers.high-mobility.com/ and paste it in the source code to downloadAccess Certificates
from the server
Run the app on your phone, or the iOS simulator, to see the basic flow:
- Initialising the SDK
- Getting Access Certificates
- Connecting and authenticating with an emulator
- Sending commands
If you have questions or if you would like to send us feedback, join our Slack Channel or email us at [email protected].