NOTE: The documentation available at the link above does not contain the API calls required to create a ‘Target’ to stream to IoT Central. Creating a ‘Target’ to stream to IoT Central is covered below.
Note: Every Azure IOT central APP has a Shared Access Signature. Navigate to Administration -> API tokens -> Generate token -> select admin role -> Generate. Copy the token and save it.
Create a target resource to define where to send device data.
A REST Azure IoT target requires these values:
addressscheme must be “streamazureiot”.
address is your Azure IoT Central application ready to receive streamed device data.
authorization is the Shared Secret API token from your Azure IoT central application.
Create a subscription using the
targetid from the “Create a Target” response:
ts.eventto receive all device data
The cloud connector from the ThingSpace (Verizon
BillingAccountId) to the IoT Central Application has now been configured
The cloud connector populates the device templates that were specified by the target creation request in the IoT Central Application. Subsequently, data from CAS devices that are in the Verizon
BillingAccount will start streaming telemetry data into the IoT Central application.
Note: it may take some time for the cloud connector to get fully setup and start streaming data into the IoT Central Application. Also the sleep mode of the CAS device will determine how often the device wakes up and sends data into the IoT Central app