Compile Error on SIM7000C Arduino NB-IoT For Get Position Sample Code
I've tried to do what the guide stated: https://wiki.dfrobot.com/SIM7000C_Ardui ... U__DFR0505
For
Tutorial(Get Position) section
When I compile I get this error
For
Tutorial(Get Position) section
When I compile I get this error
Code: Select all
Compiling library "DFRobot_SIM7000-master"
DFRobot_SIM7000-master\DFRobot_SIM7000.cpp: In member function 'bool DFRobot_SIM7000::send(void*, size_t)':
FRobot_SIM7000.cpp:299:27: error: invalid conversion from 'void*' to 'const char*' [-fpermissive]
299 | if(check_send_cmd(buffer,"OK")){
| ^~~~~~
| |
| void*
exit status 1
Error compiling for board Discovery.