Hi Pierre,
Please look at my configuration below. I changed the last byte for testing purposes.
D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDD
However, could you please print the &au8LinkRxBuffer[3] pinter to the key that you are setting?

Please look at the switch case after set the security
case (E_SL_MSG_SET_SECURITY):
Regards,
Mario