Module GSM Telit GM862


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    32

    Default Module GSM Telit GM862

    Hi!

    I manage the Pic Basic Pro form Telit GM862, how can analyze two strings?
    The first is + CLIP: "39065542 xxx", 145, "" 128 "CASAENZO", 0
    second is: + CLIP: "39065542 xxx", 145, "" 128, "", 0
    the first is a call received with a number that is stored in memory of the sim, the second is called a receipt from a number that is not stored in the sim.

    How can I drive an output Pic when a call is received a number that is stored in the sim module GM862?

  2. #2

    Default

    Hi Volcane

    I assume that you want the PIC to do something when it receives a call corresponding to a name stored in SIM memory?

    The first is + CLIP: "39065542 xxx", 145, "" 128 "CASAENZO", 0
    second is: + CLIP: "39065542 xxx", 145, "" 128, "", 0

    One simple way to do it is this:

    Hserin [Wait "128",skip 6,B0] (or use Serin2 etc)
    If BO<>"0" then go do something

    Wait for an incoming string 128.
    If it is found, skip 6 characters (don't forget the spaces)and store the next character in B0.
    If B0 is not equal to ASC 0, it must be a SIM stored number

    Hope this helps

    Angus Anderson

  3. #3
    Join Date
    Oct 2005
    Posts
    32

    Default

    Quote Originally Posted by Angus Anderson View Post
    Hi Volcane

    I assume that you want the PIC to do something when it receives a call corresponding to a name stored in SIM memory?

    The first is + CLIP: "39065542 xxx", 145, "" 128 "CASAENZO", 0
    second is: + CLIP: "39065542 xxx", 145, "" 128, "", 0

    One simple way to do it is this:

    Hserin [Wait "128",skip 6,B0] (or use Serin2 etc)
    If BO<>"0" then go do something

    Wait for an incoming string 128.
    If it is found, skip 6 characters (don't forget the spaces)and store the next character in B0.
    If B0 is not equal to ASC 0, it must be a SIM stored number

    Hope this helps

    Angus Anderson
    Hi!

    Thanks, i had to rewrite the expression adding () [wait ("128"),skip 6,B0]

Similar Threads

  1. Version Control
    By btaylor in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 16th October 2011, 18:12
  2. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 21:33
  3. Replies: 1
    Last Post: - 27th July 2008, 07:14
  4. Using gsm module in data mode
    By isaac in forum GSM
    Replies: 0
    Last Post: - 25th September 2007, 16:21
  5. i need information for GSM interface
    By m_vincent in forum GSM
    Replies: 2
    Last Post: - 30th January 2007, 16:48

Posting Permissions

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