Lines Matching refs:command
279 int send_str_over_rfcomm(uint16_t cid, const char * command){ in send_str_over_rfcomm() argument
281 log_info("HFP_TX %s", command); in send_str_over_rfcomm()
282 int err = rfcomm_send(cid, (uint8_t*) command, (uint16_t) strlen(command)); in send_str_over_rfcomm()
288 hfp_emit_string_event(hfp_connection, HFP_SUBEVENT_AT_MESSAGE_SENT, command); in send_str_over_rfcomm()
626 hfp_connection->command = HFP_CMD_NONE; in hfp_reset_context_flags()
1166 const char * command; member
1242 int match = strcmp(text, at_command->command); in hfp_custom_command_lookup()
1274 int match = strcmp(line_buffer, entry->command); in parse_command()
1413 … hfp_connection->command = parse_command((char *)hfp_connection->line_buffer, isHandsFree); in hfp_parse_byte()
1416 if (hfp_connection->command == HFP_CMD_RETRIEVE_AG_INDICATORS_GENERIC){ in hfp_parse_byte()
1419 hfp_connection->command = HFP_CMD_RETRIEVE_AG_INDICATORS_STATUS; in hfp_parse_byte()
1422 hfp_connection->command = HFP_CMD_RETRIEVE_AG_INDICATORS; in hfp_parse_byte()
1425 hfp_connection->command = HFP_CMD_UNKNOWN; in hfp_parse_byte()
1430 …sfree %u -> cmd id %u", (char *)hfp_connection->line_buffer, isHandsFree, hfp_connection->command); in hfp_parse_byte()
1433 if (hfp_connection->command == HFP_CMD_CUSTOM_MESSAGE){ in hfp_parse_byte()
1459 switch (hfp_connection->command){ in hfp_parse_byte()
1474 switch (hfp_connection->command){ in hfp_parse_byte()
1496 switch (hfp_connection->command){ in hfp_parse_byte()
1542 switch (hfp_connection->command){ in hfp_parse_byte()
1562 if (hfp_connection->command == HFP_CMD_RETRIEVE_AG_INDICATORS){ in hfp_parse_byte()
1594 switch (hfp_connection->command){ in parse_sequence()