I would like to disconnect with the mobile device when nothing happens for 30s. After the device is disconnected it should start advertising again. I know there is the GAPRole_TerminateConnection(); function to disconnect with the mobile device.
But how can I set up this with 30s? Is there a function like TimeOutConnection or something similar where i can set parameters for time to disconnect?