菜鸟教程小白 发表于 2022-12-13 00:42:11

ios - CBPeripheralManager 限制


                                            <p><p>iOS 6 中新的 CBPeripheralManager 有哪些限制?如果我足够疯狂地实现 FTP(服务标识符 0x1106)配置文件,我能做到吗?还是 Apple 会限制应用可以公开哪些蓝牙服务?</p>

<p> <a href="https://github.com/KhaosT/CBPeripheralManager-Demo" rel="noreferrer noopener nofollow">https://github.com/KhaosT/CBPeripheralManager-Demo</a>似乎是新类型的一个很好的例子,但我不清楚目前支持多少,特别是因为公共(public)文档中甚至没有 CBPeripheralManager。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>@BradLarson 是解决这个问题的关键。感谢他在评论中提供的所有帮助。我回答这个问题只是为了记录对后代所说的话,我认为这是对我可能措辞不佳的问题的回答。</p>

<p>CoreBluetooth iOS 框架允许应用程序开发人员使用 <a href="http://en.wikipedia.org/wiki/Bluetooth_low_energy" rel="noreferrer noopener nofollow">Bluetooth LE</a> ,蓝牙的低功耗版本。 BLE 包含一组不同的配置文件,因此 FTP 等服务不可用,尽管其他一些服务可用。该库应该足以实现这些配置文件。例如,应该可以实现 <a href="http://developer.bluetooth.org/gatt/profiles/Pages/ProfileViewer.aspx?u=org.bluetooth.profile.hid_over_gatt.xml" rel="noreferrer noopener nofollow">HID over GATT</a> . </p>

<p>对于越狱设备,<a href="http://code.google.com/p/btstack/" rel="noreferrer noopener nofollow">BTStack</a>库可用于与蓝牙接口(interface)。 </p>

<p>我发现对学习蓝牙非常有用的引用是 <a href="http://people.csail.mit.edu/albert/bluez-intro/index.html" rel="noreferrer noopener nofollow">An introduction to Bluetooth programming</a> .</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - CBPeripheralManager 限制,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/14614935/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/14614935/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - CBPeripheralManager 限制