UART communication problem


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: UART communication problem

    Hi,
    Never used the RN42 but shouldn't there be some sort of line termination characters after each command, like a LF or CR?
    How else would it distinguish between for example MyBT and R, perhaps you wanted to change the name to MyBTR....


    EDIT: Yeah, the command reference seems to indicate CR is what it expects.
    /Henrik.
    Last edited by HenrikOlsson; - 26th September 2016 at 09:25.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: UART communication problem

    You also have a typo, you have DEFINE HSER_CLOERR 1 it should be DEFINE HSER_CLROERR 1

  3. #3
    Join Date
    May 2016
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: UART communication problem

    Quote Originally Posted by HenrikOlsson View Post
    Hi,
    Never used the RN42 but shouldn't there be some sort of line termination characters after each command, like a LF or CR?
    How else would it distinguish between for example MyBT and R, perhaps you wanted to change the name to MyBTR....


    EDIT: Yeah, the command reference seems to indicate CR is what it expects.
    /Henrik.
    AWESOME! That was the problem and it's working now.

Similar Threads

  1. Replies: 9
    Last Post: - 1st June 2016, 07:04
  2. uart problem
    By OYMYAKON in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th March 2011, 12:52
  3. Problem using Microloader and Uart Comm at the same time
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd August 2007, 10:31
  4. Problem with UART... here is a real challenge
    By matias in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th May 2007, 09:30
  5. Replies: 8
    Last Post: - 11th November 2004, 21:08

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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