Hello everybody
We are developing a BLE remote control application on a CC2540 (stack 1.4) configured as peripheral. This application uses a serial interface to share out-of-band keys for pairing. Because the application will be used in an industrial environment, we would like to use a authenticated connection only (by using the shared OOB keys obviously).
I have some problems to implement this application and have following questions:
1: I'm not quite sure if it is possible to configure the peripheral to use be authenticated connections only. Is that possible in the stack?
2: Now I have configured the peripheral bond managers pairing mode to initiate the pairing. I set the OOB flag to true and the MITM flag to false. Therefore, according to the standard, with no input and output capabilities either an authenticated link (using OOB) or an unauthenticated link (using Just Works) will be established.
I used this application with the TI HCI dongle and the BTool (which has the OOB flag not set): I connect with the BTool to the peripheral and the peripheral sends a pairing request. Even if I do not pair, I have access to the characteristics. Is it therefore possible to check, if the device is paired and if yes, what pairing mode was used?
I really hope you guys could help me because we have spent already some time with this issue.
Thank you
Matthias