use nRF51822_Evaluation_Kit I want to auto bonding by peripheral ,once peripheral connected with center(android app). Is there have any API to send pairing request?
use nRF51822_Evaluation_Kit I want to auto bonding by peripheral ,once peripheral connected with center(android app). Is there have any API to send pairing request?
The peripheral cannot send a Pairing Request, only Pairing Response.
As a peripheral the only way is to do a sd_ble_gap_authenitcate, this will send a Security Request to the Android app, and hopefully it will send a Pairing Request back.