I have been working with the codeless AT command code for the DA14580. I have made some changes to fit the application that I need. I was wondering if there is a way to keep track of failed connections if a wrong pin is entered. For example, I would like to implement a scenario where if a pin was entered wrong 5 times, I would like to stop advertising for 5 minutes. I would like to add this as an added security feature. Is this possible to do and how would I keep track of failed connecions if it is?
Thanks
Anthony
Keywords:
Device:
Hi ant777222,
The CodeLess does not include security functionality. I would suggest you to take a look at the ble_app_security example of the SDK. You should add a counter in order to check how many times the pin is entered and then stop advertising.
Thanks, PM_Dialog