ASCII to HEX in BLE

122 views
Skip to first unread message

Siddhesh Nadkarni

unread,
Aug 3, 2017, 1:26:32 PM8/3/17
to MIT App Inventor Forum
Hi,
As mentioned in this link https://groups.google.com/d/msg/mitappinventortest/404FUnScIyY/UoDm3yWpCwAJ I am able to convert ascii values till 127 using the hexify procedure. However there are signed number in applications whose hex representations are beyond the 127 (7F) range provided by hexify. Is there any other way to send bigger numbers (0x80 to 0xFF) to BLE as a byte ?

Regards,
Siddhesh

Abraham Getzler

unread,
Aug 3, 2017, 4:02:20 PM8/3/17
to MIT App Inventor Forum
You're in luck - I did this just yesterday.
See attached.
ABG

signed_bytes.PNG
btnSetSpeedClick.PNG
I_jump_JY61_MPU6050_JSON_V5.aia
Reply all
Reply to author
Forward
0 new messages