Run the Sample Directly Connected Device Application
Run the iOS sample directly connected device application to learn how to use the client software library APIs. The device client samples use software to simulate temperature and humidity sensors. The class HumiditySensor
is used to simulate data points on a sine wave. The directly connected device sample applications periodically send temperature, humidity, and alert messages to Oracle Fusion Cloud IoT Intelligent
Applications. The attributes, actions, and alerts of the sample temperature and humidity sensors are specified in device models which you upload to Oracle Fusion Cloud IoT Intelligent
Applications.
About the Sample Directly Connected Device Application
The sample application is located in the iotcs/csl/ios/samples
directory and it uses a high-level, virtual device abstraction that hides the details of sending and receiving data from Oracle Fusion Cloud IoT Intelligent
Applications.
- Upload the humidity and temperature sensor device models to Oracle Fusion Cloud IoT Intelligent Applications. See Upload the Sample Device Models.
- Register the device and download the provisioning file.
- Run the
DirectlyConnectedDeviceSample
application: