SORACOM Harvest and Grove - Temperature&Humidity Sensor(DHT11) example for Wio cellular targets - Seeed Wio 3G and Wio LTE-M1/NB1(BG96)
Dependencies: DHT-2
Diff: mbed_app.json
- Revision:
- 3:4c355eed5a07
- Parent:
- 2:cf787cebee82
diff -r cf787cebee82 -r 4c355eed5a07 mbed_app.json --- a/mbed_app.json Mon May 20 06:11:03 2019 +0000 +++ b/mbed_app.json Tue Jun 04 07:19:23 2019 +0000 @@ -1,13 +1,13 @@ { "config": { - "sock-type": "TCP", + "sock-type": "UDP", "echo-server-hostname": { "help": "Echo server host name.", - "value": "\"echo.mbedcloudtesting.com\"" + "value": "\"harvest.soracom.io\"" }, "echo-server-port": { "help": "Echo server port number.", - "value": 7 + "value": 8514 }, "trace-level": { "help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG", @@ -22,7 +22,7 @@ "lwip.ipv4-enabled": true, "lwip.ethernet-enabled": false, "lwip.ppp-enabled": true, - "lwip.tcp-enabled": true, + "lwip.tcp-enabled": false, "platform.stdio-convert-newlines": true, "platform.stdio-baud-rate": 115200, "platform.default-serial-baud-rate": 115200, @@ -36,9 +36,9 @@ }, "WIO_3G": { "target.device_has_remove": ["SERIAL_FC"], - "nsapi.default-cellular-apn": "\"apn\"", - "nsapi.default-cellular-username": "\"username\"", - "nsapi.default-cellular-password": "\"password\"" + "nsapi.default-cellular-apn": "\"soracom.io\"", + "nsapi.default-cellular-username": "\"sora\"", + "nsapi.default-cellular-password": "\"sora\"" }, "WIO_BG96": { "cellular.use-apn-lookup": false, @@ -46,6 +46,8 @@ "nsapi.default-cellular-apn": "\"apn\"", "nsapi.default-cellular-username": "\"username\"", "nsapi.default-cellular-password": "\"password\"" + + } } }