sending string to module GSM with character ""


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    32

    Default sending string to module GSM with character ""

    Hi!

    I'm using the modules GSM Telit GM862 and SIMCOM SIM300C

    I send the command to use missed calls list (ME)
    these are the strings to be sent to the modules:
    for GM 862 is AT+CPBS = MC
    for SIM300C is AT+CPBS ="MC"

    for GM862 i have no problem using HSEROUT ["AT+CPBS=MC",13]
    if i write for SIM300C HSEROUT ["AT+CPBS="MC"", 13] i get an error during compilation, how can i send the character ""

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The double "" problem can be solved by using $22 for one of the " .
    Try
    Code:
     ["AT+CPBS=,$22,MC,$22,", 13]
    Dave
    Always wear safety glasses while programming.

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