1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Wish Prefix mode

Discussion in 'Bugs & wishlist' started by PSEAD, Jun 2, 2019.

Tags:
  1. PSEAD

    PSEAD Member Licensed User

    Sending serial data from a micro or on a serial port, there would be problems using prefix mode if the device didn't receive the first part of the message. (The micro may be streaming before the app starts) Is it possible to add in a SOB (start of block - 02) or other char into the prefix to assist synchronizing the receiving end with the sending one.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    I don't recommend you to use prefix mode with such connections. Use BytesBuilder with your own protocol. It should be quite simple.
     
  3. PSEAD

    PSEAD Member Licensed User

    Something like this :
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice