Connect with us

GSM Module Issue

Discussion in 'General Electronics Discussion' started by Embed, Jan 21, 2014.

Scroll to continue with content
  1. Embed

    Embed

    3
    0
    Jan 21, 2014
    Hi Friends,

    The following is the initialization I am doing on fibocom G610 module

    String("AT&F0\r"); //Master Reset
    Delay_62ms();

    String("AT\r"); // Basic Command ATTENTION
    Delay_62ms();

    String("AT+CMGF=1\r"); // Text Mode
    Delay_62ms();

    String("ATE0\r"); // Echo OFF
    Delay_62ms();

    String("AT+CNMI=3,1\r"); // Receive Unsolicited Interrupt Enable
    Delay_62ms();

    String("AT+CMGD=2,4\r"); // Delete All Messages With No Conditions
    Delay_62ms_Caller(15);


    When i send a message as "STS"

    Ascii Value of S is 53
    Ascii Value of T is 54

    The module is reading the message body as following 6 Byte

    array_data[1]=0x35 '5'
    array_data[2]=0x33 '3'

    array_data[3]=0x35 '5'
    array_data[4]=0x34 '4'

    array_data[5]=0x35 '5'
    array_data[6]=0x33 '3'

    The remaining data that is date, time and message sender number are in text format only, only the message body as above.

    Thank You, Good Day.:)
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    11,283
    2,583
    Nov 17, 2011
    Welcome to the forum.

    Where's the issue?
     
  3. Embed

    Embed

    3
    0
    Jan 21, 2014
    GSM Issue

    Hi Mr. Harald Kapp,

    The issue, the module has to read the text as STS, but it is reading as Hex, which i mentioned above.

    I am sorry, please be specific,

    Thank for your time and attention.
     
  4. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,482
    2,830
    Jan 21, 2010
    How are you sending the "STS" message?
     
  5. Embed

    Embed

    3
    0
    Jan 21, 2014
    GSM Issue

    Hello Mr. Steve,

    I am sending that from my personal mobile handset. STS as normal text message.

    I think the chip got into some configurations.

    Nice to get you in this forum Mr. Steve, Thanks.
     
  6. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,482
    2,830
    Jan 21, 2010
    Check the documentation very carefully to see what this actually means:

    Maybe there's a problem with it.

    Try doing the setup without it and see what happens.

    Try using the value 0 instead of 1.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-