use Dussolved_oxygen_sensor_on_wifi
Dependencies: watersenor_and_temp_code MQTT NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of DS1820_IDW01M1 by
Diff: README.md
- Revision:
- 0:80c7778c82b8
diff -r 000000000000 -r 80c7778c82b8 README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Tue Oct 31 18:41:30 2017 +0800 @@ -0,0 +1,47 @@ +# MQTT-IDW01M1 +This project is testing MQTT on mbed +- device + - NUCLEO_F401RE + - IDW01M1(WiFi board) +- MQTT cloud + - Node-Red(local,in my RaspberryPi) +- Toolchain + - ARM_GCC +- Tools + - mbed cli + - MQTTlens + +## compile +First you need dowload mbed lib +``` +mbed deploy +``` +Setting toolchain and target +``` +mbed toolcahin $(yourtoolchain) +mbed target $(your target) +``` +compile +``` +mbed compile +``` + + +## MQTT step +### connect to your AP +### connect to your host +### MQTT connect +### Subscribe +### Publish + +## MQTT function +- Subscribe +- Publish + +## MQTT variables +- QOS + + +## Reference material +- [X-NUCLEO-IDW01M1 Wi-Fi expansion board](https://os.mbed.com/components/X-NUCLEO-IDW01M1/) +- [IDW01M1_Cloud_IBM](https://os.mbed.com/teams/ST/code/IDW01M1_Cloud_IBM/)