This directory provide two files that sends sample data over Fogwing IoTHub using UDP protocol.
Note that these SDKs are currently in preview and are subject to change.
We have provided two files:
The logic behind the code is to send the sample data over Fogwing IoTHub using UDP protocol.
- Copy all the files into your Rasberry Pi and you are good to start ! You now finish with coding part.
Note:- Do the following modification in configuration.json file.
- Change the dev_eui with your Fogwing IoTHub access credentials.
- Now run the file with the below command.
Note:- Provided everything goes in line with the above mentioned instructions, you will be able to see a message that reads 'successfully published' in command line.
python fwg_udp_simulator.py
- Now you are ready to analyze your data at Fogwing Platform portal, you can check all the data within the data storage in the portal.
- Fogwing Platform Forum
- Fogwing Platform Docs
- Please visit https://www.fogwing.io/industrial-iot-platform/ for more information about Fogwing Industrial IoT Platform.