Lines Matching refs:scn
75 int RFCOMM_CreateConnectionWithSecurity(uint16_t uuid, uint8_t scn, in RFCOMM_CreateConnectionWithSecurity() argument
81 rfcomm_security_records[scn] = sec_mask; in RFCOMM_CreateConnectionWithSecurity()
83 return RFCOMM_CreateConnection(uuid, scn, is_server, mtu, bd_addr, p_handle, in RFCOMM_CreateConnectionWithSecurity()
87 extern void RFCOMM_ClearSecurityRecord(uint32_t scn) { in RFCOMM_ClearSecurityRecord() argument
88 rfcomm_security_records.erase(scn); in RFCOMM_ClearSecurityRecord()
122 int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server, in RFCOMM_CreateConnection() argument
127 if ((scn == 0) || (scn >= PORT_MAX_RFC_PORTS)) { in RFCOMM_CreateConnection()
130 << ", scn=" << static_cast<int>(scn) in RFCOMM_CreateConnection()
142 dlci = static_cast<uint8_t>((scn << 1) + 1); in RFCOMM_CreateConnection()
144 dlci = (scn << 1); in RFCOMM_CreateConnection()
160 << ", bd_addr=" << bd_addr << ", scn=" << std::to_string(scn) in RFCOMM_CreateConnection()
175 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
207 p_port->scn = scn; in RFCOMM_CreateConnection()
235 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()