Bluetooth scanning error in Windows 11

4 visualizzazioni (ultimi 30 giorni)
I am using MATLAB 2022b and Windows 11. I am trying to read my heart rate data from my chest band heart rate sensor (low energy peripheral) to simulink.
I have the following toolboxes installed - a. Bluetooth Toolbox b. Simulink support package for Arduino Hardware. I want to connect my heart rate sensor directly to computer and simulink using Bluetooth.
However, I am getting the following error "scanning and connecting to Bluetooth Low Energy peripheral devices are not supported on Windows 11.", for both cases -
a. used "blelist" at workspace
b. tried BLE RECEIVE block from Simulink. (uploaded snapshot)
Is it expected behavior? and in case yes, how can I work around to connect my Bluetooth sensor to Simulink.
Have a nice day ahead.

Risposta accettata

Pravarthana P
Pravarthana P il 29 Set 2022
Hi Ritam Basu,
I understand that you are facing an issue while using BLE receive block to receive data in Simulink.
The error occurs due to the following reason:
  • BLE Receive block internally uses the MATLAB 'ble' command, the block is expected to show the same error message if the 'ble' command has issues.
A possible workaround can be:
  • To select the "Scan using" drop down as Arduino device in the BLE scanning app which shows up when you click on the "Scan" button on BLE receive block.
If there are any issues with the workaround, it is recommended to implement the procedure in Win 10 or Mac 10.13+ machine.
I hope this information helps you!
  2 Commenti
RITAM BASU
RITAM BASU il 29 Set 2022
Unfortunately I dont have a win 10, nor a mac nor an arduino.
Does the BLE command works on ubuntu ? I can try there.
And when can we expect MATLAB to fix this error ? that it works fine on Windows 10 but not on 11?
Arun Kumar
Arun Kumar il 4 Ott 2022
Hi Ritam,
To use the BLE blocks on Arduino while working on Ubuntu, please Scan using Arduino device.
To scan using Arduino device: Select the "Scan using" drop down as Arduino device in the BLE scanning app which shows up when you click on the "Scan" button on BLE receive block.

Accedi per commentare.

Più risposte (2)

Pravarthana P
Pravarthana P il 30 Set 2022
Hi Ritham Basu,
This is a known issue which has been reported.
You can follow the Bug Report link to get updates on the issue, to receive notifications once the issue is fixed.
Unfortunately, at present the “BLE” command support is limited only to Windows and Mac OS. It is recommended to try the procedure in Win 10 or Mac 10.13+ machine.
I hope this information helps you!
  1 Commento
RITAM BASU
RITAM BASU il 17 Ott 2022
The Bug Report link is not opening for me.. I got this error in my 2 browsers -
<Error>
<Code>BlobNotFound</Code>
<Message>The specified blob does not exist. RequestId:6568bde4-c01e-0059-4806-e2e18e000000 Time:2022-10-17T08:54:46.4507723Z</Message>
</Error>.
Can you please share the report number? Maybe I can search for it manually in matlab website.

Accedi per commentare.


Pravarthana P
Pravarthana P il 19 Ott 2022
Hi Ritam Basu,
I understand that you are unable to find the reported bugs through the link provided earlier, here is the bug report link for you reference.
Also the bug report number is 2654666.
I hope this information helps you!

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by