Clear Filters
Clear Filters

BLE write HEX number

2 views (last 30 days)
keming cao
keming cao on 9 Apr 2022
Commented: keming cao on 10 Apr 2022
I want to write the following hexadecimal number to a BLE device:
"AECA19F00000000000000E287DEDF"
but MATLAB reported an error:
"The operation failed because of an unknown error"
Is write command only able to write up to 64 bits number?
  2 Comments
Jan
Jan on 10 Apr 2022
Please post your code and a copy of the complete error message.
keming cao
keming cao on 10 Apr 2022
I find I can write now.
Just convert the hexadecimal number of each byte to decimal, then form an array, and write to the BLE slave

Sign in to comment.

Answers (0)

Tags

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!