Pic to GSM Phone connection (HSerin problems)


Results 1 to 40 of 289

Threaded View

  1. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default

    PBP does not have such string compring capabilities.

    You have to make your own subroutine to compare byte to byte the two string array. Like that:

    i=0
    while i less_than gsmbuffer_length (I cant sen the less character! Why?)

    if gsmbuffer[i]=compare_array[i] then
    'gsmbuffer[i]=0
    i=i+1
    else
    goto wrong_sms
    endif
    wend
    correct_sms:
    'your code here

    wrong_sms:
    'your code here

    You understand that in compare_array you have to put your characters in some other place of the program prior to the above subroutine.
    Last edited by Ioannis; - 26th July 2005 at 10:25.

Similar Threads

  1. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 00:52
  2. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  3. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 20:33
  4. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  5. Pic to GSM Phone connection
    By samertop in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th July 2005, 13:40

Members who have read this thread : 1

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