I'm developing a Mac application that monitors a piece of state on your computer and communicates it to a nearby iOS device. Both are using CoreBluetooth to communicate. You can think of the iOS device as a "status sign" for your Mac.
I started out by making the Mac the "central" and the iOS device the "peripheral". The Mac tries to keep a persistent BL connection to the iOS device to write a value whenever the state changes. However, I find that the the iOS device often disconnects.
I can also see an implementation where the iOS app is the central and subscribes to a characteristic of the Mac peripheral. Here's my question - for those of you with more Core Bluetooth experience, based on my use case, which should be the central and which should be the peripheral?
1
0
656