Bluetooth Module in Matlab
显示 更早的评论
I am working on a Matlab project in which I will capture an image using my webcam and I need to send the captured image to my mobile over Bluetooth. so far I have figured out how to connect to my mobile with Bluetooth but not able to send the captured image.
Can you please help me out.
回答(1 个)
Walter Roberson
2020-8-18
0 个投票
https://www.mathworks.com/help/instrument/bluetooth-communication.html
create the object, fopen it, fwrite data.
The controller will be responsible for bundling the data into packets with appropriate headers and error detection or correction. The controllers will handle packet retransmit as needed.
2 个评论
Niranjan S Pattanshetti
2020-8-18
Walter Roberson
2020-8-18
编辑:Walter Roberson
2020-8-18
Why are you fclose/fopen? You can determine the size of your variable and configure the buffer before you fopen the first time.
It is unlikely that your image from the webcam is int8.
类别
在 帮助中心 和 File Exchange 中查找有关 Bluetooth Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!