things4u / ESP-1ch-Gateway-v5.0--OLD

Version 5 of Single Channel LoRa Gateway
MIT License
311 stars 162 forks source link

Build problems with platformio #97

Open remrat opened 4 years ago

remrat commented 4 years ago

Clean install... Getting build errors:

StaticJsonDocument<312> jsonBuffer; ^ C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:76:50: error: 'deserializeJson' was not declared in this scope auto error = deserializeJson(jsonBuffer, bufPtr); ^ C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:45: error: expected primary-expression before '>' token JsonObject root = jsonBuffer.to();

                                         ^

C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:47: error: expected primary-expression before ')' token JsonObject root = jsonBuffer.to(); ^

webgps commented 4 years ago

Clean install... Getting build errors:

StaticJsonDocument<312> jsonBuffer; ^ C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:76:50: error: 'deserializeJson' was not declared in this scope auto error = deserializeJson(jsonBuffer, bufPtr); ^ C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:45: error: expected primary-expression before '>' token JsonObject root = jsonBuffer.to();

                                         ^

C:/Users/Remmert/Documents/PlatformIO/Projects/gateway/src/_txRx.ino:97:47: error: expected primary-expression before ')' token JsonObject root = jsonBuffer.to(); ^

Hi remrat,

What is ArduinoJson version?