返回首页

你好每一个

我米工作在蓝牙技术。我已经开始我的项目列印直到扫描蓝牙设备列印列出了所有在ListView使用此代码所​​带来的。我从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
所以我没有得到适当的鳕鱼,一些数据发送到该设备可以使任何机构提出了一些代码或链接

& #160; 提前THX
& #160; 阿伦arunrv | | arunrv

回答

评论会员: 时间:2