简体   繁体   中英

Can an iPhone be a BLE peripheral?

What I want to do is have my iPhone send advertising packets, just like a peripheral device would. Is this possible? Is there an app for that?

From the Core Bluetooth Programming Guide :

In this chapter, you learn how to use the Core Bluetooth framework to perform the most common types of Bluetooth low energy tasks from the peripheral side. The code-based examples that follow will assist you in developing your app to implement the peripheral role on your local device.

So: yes, it's possible.

There are probably apps that make your iPhone act like a peripheral, since the ability has been supported since iOS 6.0. But this is a site about programming, not app recommendations.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM