Hello, We have exchanged multiple emails regarding this topic but I get no success to make it works… Can someone help me to find a solution ? is it a bug from iOS stack ? Regards, Fred
Message: 2 Date: Fri, 18 Apr 2014 21:55:30 +0200 From: Fred Visticot <fvisticot@gmail.com> To: Khaos Tian <khaos.tian@gmail.com> Cc: "bluetooth-dev@lists.apple.com" <bluetooth-dev@lists.apple.com> Subject: Re: Taking pictures using native Camera App with BLE Tag Message-ID: <A4025684-20B2-4AA4-ABA0-C6E79B1BEFAA@gmail.com> Content-Type: text/plain; charset="windows-1252"
Hello, I have made some progress :)
1. I have downloaded the CC2540 sample project from texas on my Tag 2. In iPhone settings I can connect to the tag 3. In the iPhone console I can see the Keyboard service connection (Cf. end of email) 4. I have tried 0x80 0x81 , 0x44 0x45 …. 5. But nothing is working… 5a. On the iPhone native camera app 5b. On the iPhone native music app
Any idea to fix this issue ?
BTLEServer[135] <Notice>: (Note ) Peripheral "HID Keyboard" supports service "Device Information" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Peripheral "HID Keyboard" supports service "Battery" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Peripheral "HID Keyboard" supports service "Human Interface Device" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Starting service "Device Information" on peripheral "HID Keyboard" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Service "Device Information" has started on peripheral "HID Keyboard" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Starting service "Human Interface Device" on peripheral "HID Keyboard" Apr 18 21:47:50 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Missing PnP ID characteristic Apr 18 21:47:51 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Service "Human Interface Device" has started on peripheral "HID Keyboard" Apr 18 21:47:51 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Starting service "Battery" on peripheral "HID Keyboard" Apr 18 21:47:51 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Service "Battery" has started on peripheral "HID Keyboard" Apr 18 21:47:51 iPhone-de-frederic BTLEServer[135] <Notice>: (Note ) Battery level for peripheral "HID Keyboard": 39%
Le 18 Apr 2014 à 19:29, Khaos Tian <khaos.tian@gmail.com> a écrit :
The connection is handled by iOS. User can initiate a pairing process within iOS's system settings.
For details of implementation, I believe TI provides some sample projects for HOGP.
Best Wishes, Khaos Tian
On Apr 18, 2014, at 3:55 AM, Fred Visticot <fvisticot@gmail.com> wrote:
Hello, Tx a lot for your prompt answer.
Something is still confusing for me. If I’m correct, in my case, the BLE tag is configured as a Peripheral, he can not start a connection to the iPhone. his job is to advertise and be detected by the iPhone who can make a connection to this BLE TAG
In your proposal, you describe that the TAG can send a volume event but how the connection to the iPhone is done by the tag?
Are you sure that my tag should not be configured as a master and start a connection to the iPhone ?
Can you please detail your solution ? it will help me a lot !
Fred
Le 18 Apr 2014 à 12:12, Khaos Tian <khaos.tian@gmail.com> a écrit :
olume button action to capture picture so letting your BLE peripheral send volume event should technically give you