DFRobot / DFRobot_SIM7000

MIT License
42 stars 18 forks source link

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

Open fmg-jin opened 3 years ago

fmg-jin commented 3 years ago

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.