ok już mam tylko nie mam przy sobie tego modemu będę miał dopiero w sobotę więc nie mogę przetestować czy modem będzie dawał poprawne odpowiedzi
To jest odpowiedz modemu z nowym ussd159:
ussd159 -v -p /dev/ttyUSB1 -t 5 -u "*124*#"
ussd159: opening port /dev/ttyUSB1
ussd159: port opened
ussd159: at_command: sending "ate0"
ussd159: at_wok...
ussd159: at_wok: got ""
ussd159: at_wok: got "OK"
ussd159: at_wok: done
ussd159: at_command: sending "at+cmgf=0"
ussd159: at_wok...
ussd159: at_wok: got ""
ussd159: at_wok: got "OK"
ussd159: at_wok: done
ussd159: at_command: sending "at+cscs="IRA""
ussd159: at_wok...
ussd159: at_wok: got ""
ussd159: at_wok: got "OK"
ussd159: at_wok: done
ussd159: at_command: sending "at+cusd=1,"aa988ca61a01",15"
ussd159: at_wcusd...
ussd159: at_wcusd: got ""
ussd159: at_wcusd: got "OK"
ussd159: /dev/ttyUSB1: Operation timed out
Czyli brak poprawnej odpowiedzi modemu 