Home
last modified time | relevance | path

Searched refs:write_cmd (Results 1 – 2 of 2) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t2t.c806 UINT8 write_cmd[T2T_WRITE_DATA_LEN + 1]; in rw_t2t_write() local
810 write_cmd[0] = (UINT8) (block%T2T_BLOCKS_PER_SECTOR); in rw_t2t_write()
811 memcpy (&write_cmd[1], p_write_data, T2T_WRITE_DATA_LEN); in rw_t2t_write()
824 memcpy (p, write_cmd, T2T_WRITE_DATA_LEN + 1); in rw_t2t_write()
837 if ((status = rw_t2t_send_cmd (T2T_CMD_WRITE, write_cmd)) == NFC_STATUS_OK) in rw_t2t_write()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c445 static int write_cmd(char *buf, size_t buflen, const char *cmd, int argc, in write_cmd() function
485 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) in wpa_cli_cmd()
2161 if (write_cmd(cmd, sizeof(cmd), "P2P_SERV_DISC_REQ", argc, argv) < 0) in wpa_cli_cmd_p2p_serv_disc_req()
2589 if (write_cmd(cmd, sizeof(cmd), "HS20_GET_NAI_HOME_REALM_LIST", in wpa_cli_cmd_get_nai_home_realm_list()
2608 if (write_cmd(cmd, sizeof(cmd), "HS20_ICON_REQUEST", argc, argv) < 0) in wpa_cli_cmd_hs20_icon_request()