使用蓝牙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[^]