ap_state_cmd
int ap_state_cmd(cfga_cmd_t, int *);
if ((rc = ap_state_cmd(cfga_cmd, &cmd)) != CFGA_OK)