The peripheral hardware can send notification to iPhone every m seconds. iPhone in the central role can receive the notification in the background if app support corebluetooth background mode. 在 2013-6-29,上午3:00,bluetooth-dev-request@lists.apple.com 写道:
Send Bluetooth-dev mailing list submissions to bluetooth-dev@lists.apple.com
To subscribe or unsubscribe via the World Wide Web, visit https://lists.apple.com/mailman/listinfo/bluetooth-dev or, via email, send a message with subject or body 'help' to bluetooth-dev-request@lists.apple.com
You can reach the person managing the list at bluetooth-dev-owner@lists.apple.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of Bluetooth-dev digest..."
Today's Topics:
1. iPhone Tx power (Javaid, Bilal)
----------------------------------------------------------------------
Message: 1 Date: Fri, 28 Jun 2013 12:22:44 +0000 From: "Javaid, Bilal" <BJavaid@hatci.com> To: "bluetooth-dev@lists.apple.com" <bluetooth-dev@lists.apple.com> Subject: iPhone Tx power Message-ID: <04197A92DE00C847AAA32F2755304F9ADA96@aa-ex001.hatci.com> Content-Type: text/plain; charset="iso-8859-1"
Hello,
I have the iPhone in the client role, and other Bluetooth hardware in the peripheral role.
I was wondering if there is any way for the peripheral to know the Tx power of the iPhone in order to calculate path loss?
I know I could just have the iPhone calculate path loss by putting the Tx power service in the external Bluetooth hardware, but the issue with that is that the phone can't continuously monitor path loss when the app is in the background because timers will not fire in the background.
The alternative is to have the iPhone in peripheral role and that way I can capture Tx power in the phone's advertising packet, but I wanted to see if I could keep the current topology.
Thanks, Bilal Javaid