# HG changeset patch # User Mychaela Falconia # Date 1615064625 0 # Node ID 36e7fc58f0659b5f9a6da5f6d58c8b14868e05a4 # Parent c925f78082851d81c64f71e12e0d8157a7d75629 GrcardSIM2 ADM5 setting command is now grcard2-set-adm5 diff -r c925f7808285 -r 36e7fc58f065 simtool/dispatch.c --- a/simtool/dispatch.c Sat Mar 06 20:59:23 2021 +0000 +++ b/simtool/dispatch.c Sat Mar 06 21:03:45 2021 +0000 @@ -30,8 +30,8 @@ extern int cmd_grcard1_set_adm(); extern int cmd_grcard1_set_ki(); extern int cmd_grcard1_set_pin(); -extern int cmd_grcard2_set_adm(); -extern int cmd_grcard2_set_adm_hex(); +extern int cmd_grcard2_set_adm5(); +extern int cmd_grcard2_set_adm5_hex(); extern int cmd_grcard2_set_pin(); extern int cmd_grcard2_set_puk(); extern int cmd_grcard2_set_super(); @@ -149,8 +149,8 @@ {"grcard1-set-ki", 1, 1, 0, cmd_grcard1_set_ki}, {"grcard1-set-pin1", 2, 2, 0, cmd_grcard1_set_pin}, {"grcard1-set-pin2", 2, 2, 0, cmd_grcard1_set_pin}, - {"grcard2-set-adm", 1, 1, 0, cmd_grcard2_set_adm}, - {"grcard2-set-adm-hex", 1, 1, 0, cmd_grcard2_set_adm_hex}, + {"grcard2-set-adm5", 1, 1, 0, cmd_grcard2_set_adm5}, + {"grcard2-set-adm5-hex", 1, 1, 0, cmd_grcard2_set_adm5_hex}, {"grcard2-set-pin1", 1, 1, 0, cmd_grcard2_set_pin}, {"grcard2-set-pin2", 1, 1, 0, cmd_grcard2_set_pin}, {"grcard2-set-puk1", 1, 1, 0, cmd_grcard2_set_puk}, diff -r c925f7808285 -r 36e7fc58f065 simtool/grcard2.c --- a/simtool/grcard2.c Sat Mar 06 20:59:23 2021 +0000 +++ b/simtool/grcard2.c Sat Mar 06 21:03:45 2021 +0000 @@ -82,7 +82,7 @@ return(0); } -cmd_grcard2_set_adm(argc, argv) +cmd_grcard2_set_adm5(argc, argv) char **argv; { u_char cmd[13]; @@ -107,7 +107,7 @@ return(0); } -cmd_grcard2_set_adm_hex(argc, argv) +cmd_grcard2_set_adm5_hex(argc, argv) char **argv; { u_char cmd[13];