I updated the original question
Hi, I am working with two nRF52 SDK13 central and peripheral, with no display, each is connected thought UART to a software interface, so I am mimicking the example multi role lesc,
I am able to pair, bond and encrypt the link, but I am wondering why I am getting a empty Generic L2CAP payload after the SM pairing rsp, it happens to each new connection when bonding, and if I am not bonding it happens always to each connection.
my sniffer capture:
The only difference between "my application" or multirole_lesc example mimic is. on my application, I am not performing a discovery service because I know where are all my handles for each characteristic and I connect only my own devices.
my code for the ble events realted to security
my scenario is pretty similar to this guy:what-is-the-reason-for-ble_gap_sec_status_dhkey_failure/