initial release
Dependencies: BSP_B-L475E-IOT01 MQTT
Fork of Multiprotocol by
Diff: main.cpp
- Revision:
- 4:591b0f33f8b0
- Parent:
- 3:647e37ef0eec
- Child:
- 5:69b70c8fc368
diff -r 647e37ef0eec -r 591b0f33f8b0 main.cpp --- a/main.cpp Fri Aug 17 14:57:03 2018 +0000 +++ b/main.cpp Fri Aug 17 18:09:07 2018 +0000 @@ -29,7 +29,7 @@ #define WIFI_SECURITY NSAPI_SECURITY_WPA_WPA2 -#define COMM_PROTO 2 +#define COMM_PROTO 1 // scegliere il protocollo di trasporto dati // COMM_PROTO = 0 -> accesso MQTT (default); @@ -40,8 +40,8 @@ #endif // scegliere il token al device -#define DEVICE_ID 5 -#define DEVICE_ACCESS_TOKEN TEAM_5_DEVICE_ACCESS_TOKEN +#define DEVICE_ID 1 +#define DEVICE_ACCESS_TOKEN TEAM_1_DEVICE_ACCESS_TOKEN // ciclo di frequenza lettura #define SENSOR_READING_PERIOD 5000 //in ms