Bluetooth scanning error in Windows 11

51 views (last 30 days)
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.

Accepted Answer

Pravarthana P
Pravarthana P on 29 Sep 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 Comments
Arun Kumar
Arun Kumar on 4 Oct 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.

Sign in to comment.

More Answers (2)

Pravarthana P
Pravarthana P on 30 Sep 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 Comment
RITAM BASU
RITAM BASU on 17 Oct 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.

Sign in to comment.


Pravarthana P
Pravarthana P on 19 Oct 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!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!