comparison src/aci2/aci/ati_cmd.c @ 349:09b12bd1b0f2

charging control AT command: make it AT@CHG instead of AT@CHARGE
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 16 Dec 2017 06:05:53 +0000
parents 78d1df0b8487
children bc1654e1e80d
comparison
equal deleted inserted replaced
348:d719315db04a 349:09b12bd1b0f2
691 EXTERN T_ATI_RSLT atAtVMPS (char *cl, UBYTE srcId); 691 EXTERN T_ATI_RSLT atAtVMPS (char *cl, UBYTE srcId);
692 EXTERN T_ATI_RSLT atAtVMR (char *cl, UBYTE srcId); 692 EXTERN T_ATI_RSLT atAtVMR (char *cl, UBYTE srcId);
693 EXTERN T_ATI_RSLT atAtVMRS (char *cl, UBYTE srcId); 693 EXTERN T_ATI_RSLT atAtVMRS (char *cl, UBYTE srcId);
694 #ifdef RVM_FCHG_SWE 694 #ifdef RVM_FCHG_SWE
695 EXTERN T_ATI_RSLT atPercentCBC (char *cl, UBYTE srcId); 695 EXTERN T_ATI_RSLT atPercentCBC (char *cl, UBYTE srcId);
696 EXTERN T_ATI_RSLT atAtCHARGE (char *cl, UBYTE srcId); 696 EXTERN T_ATI_RSLT atAtCHG (char *cl, UBYTE srcId);
697 #endif 697 #endif
698 698
699 LOCAL const ATCommand_bas cmds_bas[] = 699 LOCAL const ATCommand_bas cmds_bas[] =
700 { 700 {
701 {"A", atA, 0, 0 }, 701 {"A", atA, 0, 0 },
1097 {"@VMPS", AT_CMD_AT_VMPS, atAtVMPS, 0, 0, 0}, 1097 {"@VMPS", AT_CMD_AT_VMPS, atAtVMPS, 0, 0, 0},
1098 {"@VMR", AT_CMD_AT_VMR, atAtVMR, 0, 0, 0}, 1098 {"@VMR", AT_CMD_AT_VMR, atAtVMR, 0, 0, 0},
1099 {"@VMRS", AT_CMD_AT_VMRS, atAtVMRS, 0, 0, 0}, 1099 {"@VMRS", AT_CMD_AT_VMRS, atAtVMRS, 0, 0, 0},
1100 #ifdef RVM_FCHG_SWE 1100 #ifdef RVM_FCHG_SWE
1101 {"%CBC", AT_CMD_P_CBC, atPercentCBC, 0, 0, 0}, 1101 {"%CBC", AT_CMD_P_CBC, atPercentCBC, 0, 0, 0},
1102 {"@CHARGE", AT_CMD_AT_CHARGE,atAtCHARGE, 0, 0, "%s: (0,1)"}, 1102 {"@CHG", AT_CMD_AT_CHG, atAtCHG, 0, 0, "%s: (0,1)"},
1103 #endif 1103 #endif
1104 /* terminator */ 1104 /* terminator */
1105 {NULL,0,0,0,0,0} 1105 {NULL,0,0,0,0,0}
1106 }; 1106 };
1107 1107