Can BLE command be used in the external mode

1 回表示 (過去 30 日間)
RITAM BASU
RITAM BASU 2022 年 12 月 6 日
回答済み: Sourabh 2023 年 2 月 24 日
Hello,
I have a Microcontroller (with bluetooth) and a HR sensor (bluetooth based). I want the MCU to connect via bluetooth with the HR sensor whenever it is around.
Now, I simply use "BLE" function to connect the HR sensor to MATLAB. But, for the MCU, I have to use external mode and MATLAB should generate C/C++ code for the function.
I am not sure, if the BLE function (or the Bluetooth toolbox as a whole) has C/C++ code generation capability. Can someone please enlighten me here? and in case it can't, is there any other way i can make the connection?
Have a nice day ahead.

回答 (1 件)

Sourabh
Sourabh 2023 年 2 月 24 日
Hi Ritam,
As per my understanding, you want your MCU to communicate to the Heart Rate sensor via Simulink.
Assuming that your MCU is an Arduino, the following example project might be an interesting read:
As of now there is limited functionality while using External Mode over BLE and code generation.
If you need more help on that, you can go ahead and submit a Technical Support request.

カテゴリ

Help Center および File ExchangeTest and Measurement についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by