×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    AT commands to pocketPC

    Posted by Anand Patil, patilanand@hotmail.com
    on March 05, 2002 at 09:51

    I'm trying to communicate with the NCP2.0, using MSCE Comm control in eVB, connected on port 1 on my pocketPC by a simple "AT" command for which i should get an "OK" response. But this is not happening. I'm not getting any response.
    Below is the sample code:

    card.CommPort = 1
    card.InputLen = 1
    card.Settings = "115200,N,8,1"
    card.PortOpen = True
    card.Output = "AT" & Chr(13)
    MsgBox card.Input

    where card is the MSCE Comm control. I try to print the content in the input buffer which is null.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    RE: AT commands to pocketPC

    Posted by Pedro Mateos, soymuymajo@yahoo.es
    on March 05, 2002 at 18:15

    You should use the port "COM4:" (that is what NCP 1.0 use)

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    RE: AT commands to pocketPC

    You should be using CommPort 3 (if you are using infrared). This is the default comm port for the infrared modem. Also you need to monitor the card_oncomm event to see when any information has been received.

Posting Permissions

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