Effacer les filtres
Effacer les filtres

BLE Receive Block: Outputting PDU from advertising packets

1 vue (au cours des 30 derniers jours)
J D
J D le 18 Juin 2018
Réponse apportée : J D le 21 Juin 2018
Hello,
I'm looking to use the "BLE Receive" block in "Central Mode" with an Android device connected by USB to scan for peripheral devices. I'd then like to analyze the advertising packets that these devices are transmitting (e.g. compile an array of device names and RSSI). Would this be possible? If so, what is the maximum refresh rate?
Thanks for the help! I'm new to Simulnk's support of BLE, so I appreciate for the patience. JD

Réponses (2)

Sruthi Yenugula
Sruthi Yenugula le 19 Juin 2018
You can refer to https://www.mathworks.com/help/supportpkg/android/examples/work-with-ble-blocks-on-android-devices.html. You can get the device names and associated BLE characteristics but the not RSSI values of Peripheral devices. If you would like to refresh the scan results, you can click on the scan button(in android app). Can I know what are you exactly trying to do?

J D
J D le 21 Juin 2018
Thanks for the answer, Sruthi. I've decided to go a different route.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by