Lines Matching defs:cmd
148 UINT8 cmd ;
151 STREAM_TO_UINT8(cmd, p);
154 if ((SMP_OPCODE_MAX < cmd) || (SMP_OPCODE_MIN > cmd))
156 SMP_TRACE_WARNING( "Ignore received command with RESERVED code 0x%02x", cmd);
162 if (SMP_OPCODE_PAIRING_REQ == cmd || SMP_OPCODE_SEC_REQ == cmd)
184 if (cmd == SMP_OPCODE_CONFIRM)
186 SMP_TRACE_DEBUG ("in %s cmd = 0x%02x, peer_auth_req = 0x%02x,"
188 __FUNCTION__, cmd, p_cb->peer_auth_req, p_cb->loc_auth_req);
193 cmd = SMP_OPCODE_PAIR_COMMITM;
197 p_cb->rcvd_cmd_code = cmd;
199 smp_sm_event(p_cb, cmd, p);
298 UINT8 cmd ;
301 STREAM_TO_UINT8(cmd, p);
304 if ((SMP_OPCODE_MAX < cmd) || (SMP_OPCODE_MIN > cmd))
306 SMP_TRACE_WARNING( "Ignore received command with RESERVED code 0x%02x", cmd);
312 if (SMP_OPCODE_PAIRING_REQ == cmd)
335 p_cb->rcvd_cmd_code = cmd;
337 smp_br_state_machine_event(p_cb, cmd, p);