Hi,
I have tried the following example:
infocenter.nordicsemi.com/index.jsp
Everything works fine (I can generate a notification via a calendar event and see it via the nRF serial port) except "Testing with nRF Connect". No one service is discovered and hence I have no means to send '00 18 06 02 01 02 03 04' to characteristic 0x120D.
I'm using nRF Connect 1.8.6, SDK15.0 on a nRF52840-Preview-DK and iOS 11.4.1.
In fact, I would like to check if a hacker application installed on an iOS device can fake notifications (as you propose to do with nRF Connect).
I was surprised that pairing information is shared between applications. Moreover, an existing opened BLE connection to a device can be also shared with another application.
I tried to write my own iOS test application. When I open a connection someone close it just after and I have no idea for which reason. The same happens with LightBlue. However, I noticed that a "Forget this device" in the Preferences and an "Erase bonds" on the nRF followed by a connection (either from my test program or LightBlue) don't do that: the connection stay opened.
So I have the following questions:
- Do I use nrf Connect incorrectly? How can I send '00 18 ...' to 0x120D?
- Is it possible to have fake notifications from a hacked appli?
- What can be the reason of the close after open?
Thanks in advance for helping me.
Bernard