フィルターのクリア

Bluetooth Communication

3 ビュー (過去 30 日間)
Hans
Hans 2011 年 6 月 16 日
Hello all,
I would like to read in data from a Bluetooth Device through my Bluetooth Adapter. I've tried to use the serial('COM1') and fopen/fread commands, but I do not receive any information. I've made a COM or Bluetooth connection through Windows' Bluetooth Devices and used the same COM ports to read data. I've also tried leaving this Windows' connection out and going through all the available COM ports to see if I can receive anything.
I have not found much information on using a Bluetooth Adapter and reading data from a Bluetooth Device.
Greetings,
Hans
  2 件のコメント
Walter Roberson
Walter Roberson 2011 年 6 月 16 日
Is your bluetooth adapter a bluetooth to serial adapter?
Hans
Hans 2011 年 6 月 17 日
No, it is an USB Bluetooth dongle, I would like to use this dongle in order to send and receive data.

サインインしてコメントする。

採用された回答

Chirag Gupta
Chirag Gupta 2011 年 6 月 16 日
As mentioned above, direct bluetooth communication does not work. However, if your bluetooth supports Serial Profile (SPP) that enables the bluetooth to show up as a serial port (COM) then you should most probably be able to talk to it.
It is most probably a case of setting the correct properties for the serial object in MATLAB. Check BaudRates, FlowControl, Terminator etc.
A simple test would be to try and talk to the bluetooth device from hyperterminal. Note those settings and just replicate them in MATLAB.
A quick search on File Exchange gave some hits that you could look for reference!

その他の回答 (1 件)

Radhika
Radhika 2011 年 6 月 16 日
Bluetooth communication is not supported by MATLAB currently.

カテゴリ

Help Center および File ExchangeGet Started with Bluetooth Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by