How to prompt for permission popup when implementing PBAP and MAP

Hi,

I am implementing PBAP and MAP Bluetooth BR protocols and when connecting to an iOS device in MAP I am getting Forbiden response to the connect command and in PBAP I am getting empty responses.

but if I go into the connection and enable th permissions that are shown there after my aceess attempts, everything works.

my question:

is there a way form me to get iOS to prompts the user for permissions and thus flipping those flags on or is my only way to prompt the user myself and try to instruct the user on how to go deep into the Bluetooth settings and enable the functionality?


thanx,

Meir