SEROUT2 Byte Array In HEX Format


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default Re: SEROUT2 Byte Array In HEX Format

    Quote Originally Posted by HenrikOlsson View Post
    The receive buffer in the Bluetooth module on the other hand...what if you split the string and send it two chunks with some delay in between?
    Hmm, how is that going to help? What amount of delay should I use?
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

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


    Did you find this post helpful? Yes | No

    Default Re: SEROUT2 Byte Array In HEX Format

    Since you don't say which Bluetooth module you're using I can't tell what size the buffer is but if you keep feeding that buffer faster than the module is able to send the data out over the air it will eventually overflow and things happens as a result. As a test try a 1 second delay, if it seems to work you've probably found the cause and can start to think about what to do about it.

    If the Bluetooth module have flow control pins it might be a good option.

    I'm not saying this IS the issue but it's something I'd try.

  3. #3
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default Re: SEROUT2 Byte Array In HEX Format

    Quote Originally Posted by HenrikOlsson View Post
    Since you don't say which Bluetooth module you're using I can't tell what size the buffer is but if you keep feeding that buffer faster than the module is able to send the data out over the air it will eventually overflow and things happens as a result. As a test try a 1 second delay, if it seems to work you've probably found the cause and can start to think about what to do about it.

    If the Bluetooth module have flow control pins it might be a good option.

    I'm not saying this IS the issue but it's something I'd try.

    I'm using an HC-05 module to send data to a PC or cellphone.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Similar Threads

  1. Byte to Hex
    By enigma in forum General
    Replies: 7
    Last Post: - 11th July 2017, 15:39
  2. Struggling again with SEROUT2 and numbers format
    By Fanias in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 12th April 2014, 06:42
  3. Serial Byte Format
    By mbruno in forum Serial
    Replies: 2
    Last Post: - 7th February 2008, 15:27
  4. Need help converting to ASCII Hex format
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th August 2007, 20:14
  5. Word array behaving like byte array.... wierd
    By forgie in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 2nd August 2005, 16:43

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