|
5 | 5 | /****************************************************************************** |
6 | 6 | DEFAULT VALUES FOR LIVEOBJECTS |
7 | 7 | ******************************************************************************/ |
8 | | -#define PAYLOAD_DATA_SIZE 256 |
| 8 | +#define PAYLOAD_DATA_SIZE 200 |
9 | 9 | #define KEEP_ALIVE_NETWORK 1000 |
10 | 10 | #define SW_REVISION "1.8.0" |
11 | 11 | #define MAX_COMMANDS 10 |
@@ -159,13 +159,13 @@ struct LiveObjects_command |
159 | 159 | void addNetworkInfo(); |
160 | 160 |
|
161 | 161 | template<typename LOtA> |
162 | | - void addParameter(const String name, LOtA &variable){Serial.print("[ERROR] This board doesn't support this function");}; |
| 162 | + void addParameter(const String name, LOtA &variable){}//Serial.print("[ERROR] This board doesn't support this function");}; |
163 | 163 | template<typename LOtB> |
164 | | - void addParameter(const String name, LOtB &variable, LiveObjects_parameterType type){Serial.print("[ERROR] This board doesn't support this function");}; |
| 164 | + void addParameter(const String name, LOtB &variable, LiveObjects_parameterType type){}//Serial.print("[ERROR] This board doesn't support this function");}; |
165 | 165 | template<typename LOtC> |
166 | | - void addParameter(const String name, LOtC &variable, onParameterUpdateCallback callback){Serial.print("[ERROR] This board doesn't support this function");}; |
| 166 | + void addParameter(const String name, LOtC &variable, onParameterUpdateCallback callback){}//Serial.print("[ERROR] This board doesn't support this function");}; |
167 | 167 | template<typename LOtD> |
168 | | - void addParameter(const String name, LOtD &variable, onParameterUpdateCallback callback, LiveObjects_parameterType type){Serial.print("[ERROR] This board doesn't support this function");}; |
| 168 | + void addParameter(const String name, LOtD &variable, onParameterUpdateCallback callback, LiveObjects_parameterType type){}//Serial.print("[ERROR] This board doesn't support this function");}; |
169 | 169 |
|
170 | 170 | private: |
171 | 171 | bool FONAconnect(); |
@@ -203,8 +203,8 @@ void LiveObjectsFona::addToStringPayload(T val, Args ... args) |
203 | 203 | addToStringPayload(args...); |
204 | 204 | } |
205 | 205 |
|
206 | | -extern const char* SECRET_LIVEOBJECTS_API_KEY; |
207 | | -extern const char* SECRET_SERVER_MSISDN; |
| 206 | +extern const String SECRET_LIVEOBJECTS_API_KEY; |
| 207 | +extern const String SECRET_SERVER_MSISDN; |
208 | 208 | // extern const String SECRET_PINNUMBER; |
209 | 209 | // extern const String SECRET_APN; |
210 | 210 | // extern const String SECRET_APN_USER; |
|
0 commit comments