This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Send Mpu Value by characteristic

Sorry, I want  to ask that if I can send Decimal(like accel x,gyro x) by the ble characteristic  to the nrfConnect, when I send the information, it always becomes hexadecimal

Parents
  • When you say "decimal" do you really mean as a human-readable text ?

    nRFConnect (on Android at least) certainly will display as text if you send it text ...

    In general, it's better to send binary data - because that it more compact.

    You then let the Application format that in a suitable way to present it  to users ...

    Remember that nRFConnect  is just a development/test tool - it is not intended for end users!

Reply
  • When you say "decimal" do you really mean as a human-readable text ?

    nRFConnect (on Android at least) certainly will display as text if you send it text ...

    In general, it's better to send binary data - because that it more compact.

    You then let the Application format that in a suitable way to present it  to users ...

    Remember that nRFConnect  is just a development/test tool - it is not intended for end users!

Children
No Data
Related