Receiving message to PIC through GSM modem


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333

    Default Re: Receiving message to PIC through GSM modem

    Is this the code that does the comparison?

    Code:
    if (s(59)="S") then
     high portc.3
     s(59)=0
     endif
     if(s(59)="T" and s(60)="a") then
     low portc.3
     s(59)=0
     s(60)=0
     endif
    and needs modifying to "LED1ON" and "LED1OFF" but does not work even with the simple test of "S" and "Ta"?

  2. #2
    Join Date
    Jun 2013
    Posts
    18

    Default Re: Receiving message to PIC through GSM modem

    Hello Steve,

    Thanks a lot for your posting here.

    I apologize. I was late in reply

    Yes, it is, it compares incoming message with a pattern and chooses what commands must run. here is just simple put a pin on high or low states.

    Do you have any other suggestion for comparing?

    Thank you

  3. #3
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333

    Default Re: Receiving message to PIC through GSM modem

    Quote Originally Posted by EarlyBird2 View Post
    Is this the code that does the comparison?

    Code:
    if (s(59)="S") then
     high portc.3
     s(59)=0
     endif
     if(s(59)="T" and s(60)="a") then
     low portc.3
     s(59)=0
     s(60)=0
     endif
    and needs modifying to "LED1ON" and "LED1OFF" but does not work even with the simple test of "S" and "Ta"?
    Does this work?

Similar Threads

  1. Interface Pic --> Max232 --> GSM Modem
    By SangkiMangki in forum GSM
    Replies: 1
    Last Post: - 28th September 2013, 13:57
  2. gsm modem and pic communication
    By shani_developer in forum GSM
    Replies: 1
    Last Post: - 7th September 2010, 09:21
  3. GSM modem not working with PIC! Both modem & PIC work fine with PC
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 12th May 2010, 10:31
  4. Anyone used a WAVECOM gsm modem ?
    By isaac in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th September 2007, 14:15
  5. SEROUT2 to GSM Modem
    By tommyers in forum General
    Replies: 5
    Last Post: - 21st August 2006, 22:35

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts