Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when try to running udpsim7020e #9

Open
roysG opened this issue Apr 4, 2021 · 1 comment
Open

Error when try to running udpsim7020e #9

roysG opened this issue Apr 4, 2021 · 1 comment

Comments

@roysG
Copy link

roysG commented Apr 4, 2021

This is the error i get in the console:

n file included from /Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:40:0:
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/board.h:126:5: error: 'AltSoftSerial' does not name a type
AltSoftSerial serialPort;
^~~~~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp: In member function 'void AT_SIM7020E::setupModule(String, String)':
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:51:11: error: 'hwResetPin' was not declared in this scope
pinMode(hwResetPin, OUTPUT); // set reset pin for hardware reboot
^~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:57:7: error: 'serialConfig' was not declared in this scope
if (serialConfig){
^~~~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:57:7: note: suggested alternative: 'serialEventRun'
if (serialConfig){
^~~~~~~~~~~~
serialEventRun
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:58:5: error: 'serialPort' was not declared in this scope
serialPort.begin(buadrate,configParam,rxPin,txPin);
^~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:58:5: note: suggested alternative: 'Serial'
serialPort.begin(buadrate,configParam,rxPin,txPin);
^~~~~~~~~~
Serial
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:58:31: error: 'configParam' was not declared in this scope
serialPort.begin(buadrate,configParam,rxPin,txPin);
^~~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:58:43: error: 'rxPin' was not declared in this scope
serialPort.begin(buadrate,configParam,rxPin,txPin);
^~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:58:49: error: 'txPin' was not declared in this scope
serialPort.begin(buadrate,configParam,rxPin,txPin);
^~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:62:5: error: 'serialPort' was not declared in this scope
serialPort.begin(buadrate);
^~~~~~~~~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp: In member function 'String Magellan_SIM7020E::postData(String, option*, unsigned int)':
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:779:11: error: 'ESP' was not declared in this scope
ESP.restart();
^~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:779:11: note: suggested alternative: 'EMP'
ESP.restart();
^~~
EMP
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:62:5: note: suggested alternative: 'Serial'
serialPort.begin(buadrate);
^~~~~~~~~~
Serial
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:795:7: error: 'ESP' was not declared in this scope
ESP.restart();
^~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:795:7: note: suggested alternative: 'EMP'
ESP.restart();
^~~
EMP
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp: In member function 'String Magellan_SIM7020E::getData(option*, unsigned int, String)':
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:833:15: error: 'ESP' was not declared in this scope
ESP.restart();
^~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:113:5: error: 'ESP' was not declared in this scope
ESP.restart();
^~~
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/Magellan_SIM7020E.cpp:833:15: note: suggested alternative: 'EMP'
ESP.restart();
^~~
EMP
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:113:5: note: suggested alternative: 'SP'
ESP.restart();
^~~
SP
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp: In member function 'void AT_SIM7020E::reboot_module()':
/Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E/src/AT_SIM7020E.cpp:167:18: error: 'hwResetPin' was not declared in this scope
digitalWrite(hwResetPin, LOW);
^~~~~~~~~~
Multiple libraries were found for "AIS_SIM7020E_API.h"
Used: /Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E
Not used: /Users/roysabah/Documents/Arduino/libraries/Magellan_SIM7020E-master
exit status 1
Error compiling for board Arduino Nano.

@roysG
Copy link
Author

roysG commented Apr 16, 2021

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant