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

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

Compilation problems about _txRx #70

Closed richard-ubi closed 5 years ago

richard-ubi commented 5 years ago

_txRx:63:2: error: 'StaticJsonDocument' was not declared in this scope StaticJsonDocument<312> jsonBuffer;

gfnord commented 5 years ago

I'm getting the same issue here.

gfnord commented 5 years ago

You just need to install/update the ArduinoJson lib to version 6.10

Option 1: Use the Arduino Library Manager

Difficulty: ⚫⚪⚪

Recommendation: Use this method if you use Arduino 1.6.x or newer.

Instructions:

Open the Arduino Library Manager Search for “ArduinoJson” Select the version: 6.10.0 Click install.

After updating here I could compile without any problem.

richard-ubi commented 5 years ago

You just need to install/update the ArduinoJson lib to version 6.10

Option 1: Use the Arduino Library Manager

Difficulty: ⚫⚪⚪

Recommendation: Use this method if you use Arduino 1.6.x or newer.

Instructions:

Open the Arduino Library Manager Search for “ArduinoJson” Select the version: 6.10.0 Click install.

After updating here I could compile without any problem.

Thank you very much. I have solved the problem

gfnord commented 5 years ago

Okay, you may close this issue, please.

bv73 commented 5 years ago

Today I had the same issue but this method is don't work. At home compiling ok without update version (Win7x64), but at work I have the same error (Win10x64).

bv73 commented 5 years ago

I changed the version of Arduino from 1.8.9 (Windows Store 1.8.21.0) to 1.8.5 - now compiling without any errors. Win10x64. Note: ArduinoJson by Benoit Blanchon version 5.13.1

platenspeler commented 5 years ago

Glad to hear that the new library works. I will close the issue in 2 weeks.

mrx23dot commented 5 years ago

Please update main read me (show old version)

richard-ubi commented 5 years ago

ok ! i am so honored for your reply !i had tested ,but i find that it has serious packet loss rate while the different sf ,how do you think that

richard@ubitech.hk

From: Kis Gabor Date: 2019-05-11 04:11 To: things4u/ESP-1ch-Gateway-v5.0 CC: richard-ubi; State change Subject: Re: [things4u/ESP-1ch-Gateway-v5.0] Compilation problems about _txRx (#70) Please update main read me (show old version) — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.