Filter löschen
Filter löschen

BLE write HEX number

2 Ansichten (letzte 30 Tage)
keming cao
keming cao am 9 Apr. 2022
Kommentiert: keming cao am 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 Kommentare
Jan
Jan am 10 Apr. 2022
Please post your code and a copy of the complete error message.
keming cao
keming cao am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by