Bluetooth scanning error in Windows 11

17 Ansichten (letzte 30 Tage)
RITAM BASU
RITAM BASU am 26 Sep. 2022
Beantwortet: Pravarthana P am 19 Okt. 2022
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.

Akzeptierte Antwort

Pravarthana P
Pravarthana P am 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 Kommentare
RITAM BASU
RITAM BASU am 29 Sep. 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 am 4 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Pravarthana P
Pravarthana P am 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 Kommentar
RITAM BASU
RITAM BASU am 17 Okt. 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.

Melden Sie sich an, um zu kommentieren.


Pravarthana P
Pravarthana P am 19 Okt. 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!

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by