BLE write HEX number

13 vues (au cours des 30 derniers jours)
keming cao
keming cao le 9 Avr 2022
Commenté : keming cao le 10 Avr 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 commentaires
Jan
Jan le 10 Avr 2022
Please post your code and a copy of the complete error message.
keming cao
keming cao le 10 Avr 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by