Hi @sihanchen,
You could enable the Bluetooth LE security feature using the paring and bonding process.
You could enable it in the app_preinclude.h file. You will send all the information over the air encrypted.
/*! Enable/disable use of bonding capability */
#define gAppUseBonding_d 1
/*! Enable/disable use of pairing procedure */
#define gAppUsePairing_d 1
Also, depending on your application you could set the security mode and level in the app_config.c file. I am not sure if you want the secure connection feature.
Let me know if you have any further questions.
Regards,
Mario