use Security Level 2 (Encrypted, no MITM protection) as default for RFCOMM

This commit is contained in:
Matthias Ringwald 2015-05-15 11:11:49 +02:00
parent 775ecc3663
commit 1c42f7eda0

View File

@ -2015,7 +2015,7 @@ void rfcomm_init(void){
rfcomm_multiplexers = NULL;
rfcomm_services = NULL;
rfcomm_channels = NULL;
rfcomm_security_level = LEVEL_0;
rfcomm_security_level = LEVEL_2;
}
void rfcomm_set_required_security_level(gap_security_level_t security_level){