Author Topic: SIM868 - how to disable verbose/debug mode(?)  (Read 381 times)

0 Members and 1 Guest are viewing this topic.

Offline twizzterTopic starter

  • Contributor
  • Posts: 24
  • Country: de
SIM868 - how to disable verbose/debug mode(?)
« on: May 05, 2024, 10:39:45 am »
Is there an AT command or config option that will mute the module to send only the most relevant information over the UART?
For example, if I send "ATI" the module returns a lot of useless information:
Code: [Select]
1958-01-01 11:02:46[0][D][uart.c:43 event_uart_ready_rd]uart 0 recv: ATI
     
modem recv: ATI
                                                               
SIM868 R14.18
                                                                 
0

Plus the console throws randomly:

Code: [Select]
1958-01-01 11:08:55[0][D][socket.c:236 bear_notify_cb]bear_notify state: CBM_DEA
CTIVATED.
                                                                     
1958-01-01 11:09:00[0][D][event.c:70 event_timer]timer TIMER_MAIN_LOOP happened.

                                                                             
1958-01-01 11:09:00[0][D][gps_utils.c:177 gps_getGPS]gps status NOT FIXED, pleas
e wait GPS fixed!: 1
                                                         
1958-01-01 11:09:05[0][D][event.c:70 event_timer]timer TIMER_MAIN_LOOP happened.

                                                                             
1958-01-01 11:09:05[0][D][gps_utils.c:177 gps_getGPS]gps status NOT FIXED, pleas
e wait GPS fixed!: 1


Not sure if it's important, but module was bought as an evaluation board from Ali.
It turned out that module's sticker has been covered with a new one having different IMEI. I guess recycled component? Beta/buggy/improper firmware maybe?
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 748
  • Country: ie
Re: SIM868 - how to disable verbose/debug mode(?)
« Reply #1 on: May 05, 2024, 11:31:59 am »
That second output log doesn't look like SIM8xx output. Is there a secondary controller inbetween? 
 

Offline twizzterTopic starter

  • Contributor
  • Posts: 24
  • Country: de
Re: SIM868 - how to disable verbose/debug mode(?)
« Reply #2 on: May 05, 2024, 12:40:37 pm »
I'm hooked up to the module's UART1. Attached a photo of PCB and a schematic for reference.
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 748
  • Country: ie
Re: SIM868 - how to disable verbose/debug mode(?)
« Reply #3 on: May 06, 2024, 06:17:10 am »
It's a while since I used SIM868 but I don't recall the output being so verbose.
There is a command ATV that relates to the response format, you an also turn off echo with ATE.
You will have to write a parser anyway, so you will become very familiar with the command set:

https://wiki.elecrow.com/images/2/20/SIM800_Series_AT_Command_Manual_V1.09.pdf


One other point, SIM868 is 2G only, which will be sunset pretty much everywhere in 5-10 years, perhaps sooner in some regions, already done in some. It might be better to learn how to work with an NB-IoT or CATM module.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf