This is a sample client for Intel Gateway Solutions for the IoT development kits
Using the code and the recipe Connect an Intel® IoT Gateway to IBM Watson IoT Platform listed on https://developer.ibm.com/iot/recipes/, you can quickly showcase how one can connect a Intel IoT Gateway to IBM Watson IoT Platform (WIoTP).
All one needs to do, is to, run a python script which actually sends the cpu utilisation data to the IBM Watson IoT Platform service at http://internetofthings.ibmcloud.com
Refer to the section Conclusion and other related decipes in the Watson IoT Recipe Connect an Intel® IoT Gateway to IBM Watson IoT Platform that details out on the next set of IoT Recipes that can be followed, to pursue and continue your work, exploring ways to play with IoT Gateway's.
Securing the Connections to the Watson IoT Platform
The Python script ibm-iot-quickstart.py has been recently modified (last week of Mar, 2017) and has been updated to ensure Secure Connections to Watson IoT Platform (WIoTP). The script prior to this was connecting to WIoTP on 1883. However, going forward, it is recommended to connect to WIoTP using only Secure Connections. The underlying ibmiotf module shall take care of the security aspect, by ensuring that all these Connections are secure.
To have the script successfully executed, you need ibmiotf python library, to be in place. The following PIP command ensures that this module dependency is met, by setting up the ibmiotf python library. Use sudo privilege to execute the PIP command, as needed.
pip install ibmiotf