「Package.appxmanifest」ファイルの「<capabilities>」タグ間に、次の記述を追加します。
・Bluetoothの機能の有効化
<devicecapability name="bluetooth.rfcomm">
<device id="any">
<function type="name:serialPort"></function>
</device>
</devicecapability>
・USB接続の有効化
<devicecapability name="serialcommunication">
<device id="any">
<function type="name:serialPort"></function>
</device>
</devicecapability>
0 件のコメント:
コメントを投稿