Setup Raspberry Pi Bluetooth using Matlab

조회 수: 4 (최근 30일)
Md Noor Islam
Md Noor Islam 2020년 10월 28일
답변: Saurav Chaudhary 2020년 11월 4일
I want to set up a built-in Bluetooth module of Raspberry pi for providing wifi SSID and Password using MATLAB. But I don't find any Bluetooth object in MATLAB to connect the raspberry pi Bluetooth.
I have tried to openShell command for setuping the bluetooth
OpenShell Command
sudo bluetoothctl
sudo discoverable on %or
discoverable on
but i got this error:
Failed to set discoverable on: org.bluez.Error.Failed

답변 (1개)

Saurav Chaudhary
Saurav Chaudhary 2020년 11월 4일
The Simulink Hardware Support Package does not explicitly provide a block to connect to the Pi via. Bluetooth. However, there are many other ways to connect and send/receive data to/from the Pi. Also, you can write your own drivers for the hardware if you have a specific workflow you want to implement. The following article discusses this approach:
There is another discussion on MATLAB Answers that points out how you can use Bluetooth with Raspberry Pi:

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by