RFCOMM连接到设备的问题

时间:2015-02-05 09:33:14

标签: c# bluetooth windows-phone-8.1 rfcomm

每个人都写道,这种方法是可行的:

   <DeviceCapability Name="proximity" />
    <m2:DeviceCapability Name="bluetooth.rfcomm">
      <m2:Device Id="any">
        <m2:Function Type="name:serialPort" />
      </m2:Device>
    </m2:DeviceCapability>

https://msdn.microsoft.com/en-us/library/windows/apps/dn263090.aspx

Connect to Bluetooth Device / how to set the rfcomm capability

Bluetooth connection between Universal app and medical device - UUID and CODFilter

但我的VS2013写道:未知名称空间m2 ... 什么是m2?如何加入m2

Capabilities必须包含Capability,而不是DeviceCapability。 我不明白这个错误...

0 个答案:

没有答案