DFRobot/DFRobot_SIM7000

Compile Error on SIM7000C Arduino NB-IOT For Get Position Code

Opened this issue · 0 comments

When I compile I get this error (Get Position) example

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.