使用蓝牙USB加密狗从PC将数据发送到蓝牙连接的设备 [英] sending data to bluetooth connected device from pc using bluetooth USB dongle

查看:131
本文介绍了使用蓝牙USB加密狗从PC将数据发送到蓝牙连接的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在研究蓝牙技术.我已经启动了我的项目,直到扫描蓝牙设备为止,然后使用此代码在列表视图中列出了所有设备.我是从InTheHand.com获得的


hello every one

i m working on a Bluetooth technology . I have started my project n brought till scanning Bluetooth devices n listing all them in listview using this code . I got it from InTheHand.com


 BluetoothClient  bc = new BluetoothClient();

 BluetoothDeviceInfo[] array = bc.DiscoverDevices();


for (int i = 0; i < array.Length; i++)
            {
                ListViewItem l = new ListViewItem(array[i].DeviceName);
                l.SubItems.Add(array[i].Connected.ToString());
            
                l.SubItems.Add(array[i].LastUsed.ToString());
                l.SubItems.Add(array[i].DeviceAddress.Sap.ToString());
                l.SubItems.Add(array[i].DeviceAddress.Nap.ToString());
                l.SubItems.Add(array[i].DeviceAddress.ToString());
                listView1.Items.Add(l);

            }


但是我的问题是,现在我需要使用此BluetoothClient将数据发送到蓝牙设备
因此我无法获得适当的编码来将某些数据发送到该设备,因此任何机构都可以建议一些代码或链接

Advance thx
Arun


But my problem is now i need to send data to Bluetooth device with This BluetoothClient
so i m not getting proper cod to send some data to that device so can any body suggest some code or link

Advance thx
Arun

推荐答案

尝试:

http://stackoverflow.com/questions/2910022/bluetooth-file-send [ ^ ]

或:

http://www.programmersheaven.com/2/Transferring-Files-and-Monitoring-蓝牙端口 [ ^ ]

:-)
Hi try:

http://stackoverflow.com/questions/2910022/bluetooth-file-send[^]

Or:

http://www.programmersheaven.com/2/Transferring-Files-and-Monitoring-Bluetooth-Ports[^]

:-)


取消此链接.它对我有帮助

探索通过蓝牙连接的OBEX设备 [
Fallow this link .It has helped me

Exploring OBEX Devices Connected via Bluetooth[^]


这篇关于使用蓝牙USB加密狗从PC将数据发送到蓝牙连接的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆