This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do i send midi data over ble uart

hi, i am using ble_uart example in which i am sending 3 byte of midi data (90 1e 45 0a .E.) i am getting (.E.) when i converts this ascii value to hex value i get (2e 45 2e) which is not same as the data i am sending.

i have no idea what should i do to get same data.

thanks!!

Parents
  • I'm sorry but I really cannot understand what it is you are asking, if in fact you are asking a question.

    Are you sending 3 bytes or 7 bytes?

    where does this

    90 1E 45 0A .E. 
    

    come from? That is some kind of debugger or hex viewer output, your data is there, it's 90 1E 45 followed by a newline (0A), however you appear to be converting the '.E.' which is just the ASCII view of the last 3 characters of your data. Since 1E and 0A don't have ASCII representations, they are shown as '.' and the 90 isn't there at all.

Reply
  • I'm sorry but I really cannot understand what it is you are asking, if in fact you are asking a question.

    Are you sending 3 bytes or 7 bytes?

    where does this

    90 1E 45 0A .E. 
    

    come from? That is some kind of debugger or hex viewer output, your data is there, it's 90 1E 45 followed by a newline (0A), however you appear to be converting the '.E.' which is just the ASCII view of the last 3 characters of your data. Since 1E and 0A don't have ASCII representations, they are shown as '.' and the 90 isn't there at all.

Children
No Data
Related