/**
* Le Connection Oriented Channel APIs
*/
-uint16_t bluetooth::shim::L2CA_RegisterLECoc(
- uint16_t psm, const tL2CAP_APPL_INFO& callbacks) {
+uint16_t bluetooth::shim::L2CA_RegisterLECoc(uint16_t psm,
+ const tL2CAP_APPL_INFO& callbacks,
+ uint16_t sec_level) {
LOG_INFO("UNIMPLEMENTED %s psm:%hd", __func__, psm);
return 0;
}
* and BTM_SetSecurityLevel().
*
******************************************************************************/
-uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info);
+uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
+ uint16_t sec_level);
/*******************************************************************************
*
uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
uint16_t sec_level) {
if (bluetooth::shim::is_gd_shim_enabled()) {
- return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info);
+ return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info, sec_level);
}
BTM_SetSecurityLevel(false, "", 0, sec_level, psm, 0, 0);