add some defaults to a couple of switches around security modes.

This commit is contained in:
Rohit Grover 2015-05-08 11:39:48 +01:00
parent bc99c5488f
commit 256f8f8927

View file

@ -261,6 +261,8 @@ error_t custom_add_in_characteristic(uint16_t service_handle,
case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.read_perm);
break;
default:
break;
};
}
@ -281,6 +283,8 @@ error_t custom_add_in_characteristic(uint16_t service_handle,
case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.write_perm);
break;
default:
break;
};
}