SEBLEPrinter icon indicating copy to clipboard operation
SEBLEPrinter copied to clipboard

根据UUID连接

Open Harby-c opened this issue 8 years ago • 2 comments

在仅知道当前设备的identifier的情况下如何根据这个封装的sdk连接蓝牙打印机?new了一个CBPeripheral对象,不能赋值它的identifier属性,提示"只读",请问这个该怎么解决啊

Harby-c avatar Mar 03 '17 07:03 Harby-c

蓝牙的连接,只能是搜索,然后连接。也就是在知道设备identifier的情况下,只能在搜索的代理方法中做判断,看是否是自己要连接的设备,是的话就连接,不是就return。

0xhellohaley avatar Mar 03 '17 07:03 0xhellohaley

不好意思才看到,谢谢你提供的思路 谢啦

Harby-c avatar Mar 07 '17 02:03 Harby-c