Post

Replies

Boosts

Views

Activity

CoreBluetooth - which should be central/peripheral?
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
657
May ’21
Unround iOS simulator corners in Big Sur?
In macOS Big Sur, is there a way to remove the rounded corners from the iOS Simulator windows? I'm not looking to change this setting system-wide, just for the simulator. Why? For older simulators like iPhone 8 and older iPads, the rounded corners in the non-bezel windows clip part of what the end user would see. It's small, but it matters in my use case.
1
0
761
Jul ’21
CoreBluetooth - which should be central/peripheral?
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?
Replies
1
Boosts
0
Views
657
Activity
May ’21
Unround iOS simulator corners in Big Sur?
In macOS Big Sur, is there a way to remove the rounded corners from the iOS Simulator windows? I'm not looking to change this setting system-wide, just for the simulator. Why? For older simulators like iPhone 8 and older iPads, the rounded corners in the non-bezel windows clip part of what the end user would see. It's small, but it matters in my use case.
Replies
1
Boosts
0
Views
761
Activity
Jul ’21