SIM868 SDK

From ElectroDragon Wiki
Revision as of 21:07, 20 January 2022 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quick Test Commands

Power ON

  • AT+CGPSPWR=1 // turn on GPS => return +CGNSPWR: 1


  • AT+CGPSRST=1 // restart GPS // not necessary


Read

  • AT+CGNSTST=1 // send gps data to serial port UART1 // turn off AT+CGNSTST=0

or

  • AT+CGNSINF
AT+CGNSINF
+CGNSINF: 1,1,20201229132833.000,22.571187,113.887444,25.236,0.00,133.2,2,,0.9,1.1,0.8,,13,12,,,39,,
OK


For GPS (not working for SIM868, ignore this):

  • AT+CGPSINF=32 // read data once => +CGPSINF: 32,000415.000,V,0000.0000,N,00000.0000,E,0.000,0.00,060180,,,N



Debuging: