Besides Octal, Hex is the next step up from just sending Binary! Not sure I really understand where the connection is missed? BCD - Binary Coded Decimal?
Javascript is on the send side, whereas Java in on the receive side. So sending hex data as you are, seems the best route for language compatibility. Isn't sending a lightweight payload a goal here?
There are many excellent tutorials within the MDBT42Q web page:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sun 2019.06.16
Hello @user97106,
Besides Octal, Hex is the next step up from just sending Binary! Not sure I really understand where the connection is missed? BCD - Binary Coded Decimal?
Javascript is on the send side, whereas Java in on the receive side. So sending hex data as you are, seems the best route for language compatibility. Isn't sending a lightweight payload a goal here?
There are many excellent tutorials within the MDBT42Q web page:
Short of that I used our old friend Google with the 'site:' keyword qualifier:
and an example that was posted in the forum with corresponding source code:
Consider sending an encoded Json packet? Base64 encoding?
As a suggestion, post both sides of the communication as it exists now, so that we may better understand where the current thinking is.