ArduinoGeneral

Compile Error on SIM7000C Arduino NB-IoT For Get Position Sample Code

userHead Account cancelled 2020-12-09 16:11:48 522 Views0 Replies
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
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.