The example on github for static passkey imnplementation with nus is written for SDK 7.I think API have changed form SDK 7 to SDK 10. Any one has implemented it in SDK 10? I am fairly new to the BLE development and still learning the API..
Please help..
Update:I managed to make modifications as per the old code,now atleast direct connection is not possible.
1]On connecting, the nrf resets 2]If i try to bond, the nrf Master control app will throw a Notification that "invalid Pin or Passkey Entry"..
What could be the reason?ANy TimeOut settings?
Update 2: I am now able to initiate passkey requirement on the App side[static key].But, Even without bonding, even if the device are only connected, i am able to use the RX and TX characteristics.
What i want is that unless the static key is exchanged, no information must be exchanged.
Q1]Am i confusing myself between Bonding & Connection establishment? Q2]DO I have to handle the above requiemnt in application or is it a BLE Stack implementation? Also, in the future i will be using NRF as a master and not a Mobile device...
Please help....