Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If the values you are sending are less that 16384 then you can take advantage of the fact that ascii only uses 7 bits. Split your value into 2 * 7 bit numbers and set the top bit of the first one you send. On the receiving end you can check if the top bit is set and, if it is, then you know it is part of a 14 bit number.
Alternatively, send a control byte first (like 02 = start of block) and then the two bytes.
Mike.