Other Parts Discussed in Thread: CC2540
I am trying to implement pairing/bond between a cc2540 peripheral and an iPhone. Is there any formal Ti documentation for adding this. I see alot of posts about this that have not been answered, clearly this is a common problem people encounter. My questions regarding this topic are:
1) Does the app need to keep track on the LTK keys for bonding. I need to make sure that if a phone forgets a device or is powered OFF/ON, that the CC2540 can detect this and erase its LTK keys to restart the bonding process. Otherwise devices get out of synch and become incommunicable to each other.
2) After forcing a Phone into pair, during reconnection the link become intermittent, constantly disconnecting and reconnecting until final settling. However at this point not GATT read/writes are possible.
3) Sometimes I notice when attempting to the Phone to see INSUFFICIENT_AUTHENTICATION, instead an UNLIKELY_ERROR is returned. I can't find any posts or documentation on this error return.
4) Is it possible to create a document in the wiki to cover pairing/bond connections for the CC2540?
Thanks