comparison uptools/atcmd/smdump.c @ 801:da724c67159d

fcup-smdump: use new function for Phonebook-Name
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Mar 2021 01:40:36 +0000
parents dc2fd8e6f42c
children
comparison
equal deleted inserted replaced
800:8dc93aac9a9c 801:da724c67159d
108 pdu_state = 1; 108 pdu_state = 1;
109 } 109 }
110 110
111 emit_pb_name() 111 emit_pb_name()
112 { 112 {
113 u_char decoded_name[81]; 113 fputs("Phonebook-Name: ", stdout);
114 114 print_gsm7_string_to_file(pbname_gsm, pbname_len, stdout);
115 gsm7_to_ascii_or_ext(pbname_gsm, pbname_len, decoded_name, 115 putchar('\n');
116 (unsigned *) 0, 0, 0, (unsigned *) 0);
117 printf("Phonebook-Name: %s\n", decoded_name);
118 } 116 }
119 117
120 cmgl_pdu() 118 cmgl_pdu()
121 { 119 {
122 int cc; 120 int cc;