Telit LN930: CPOL? breaks AT port
The AT+CPOL?
query in the Telit LN930 ends up breaking completely the AT port. The response does not contain a trailing OK, and it's like it's stuck trying to return it.
ModemManager[205103]: <debug> [1627820684.678322] [modem0/sim0] selecting user-defined preferred network list...
ModemManager[205103]: <debug> [1627820684.679107] [modem0/ttyACM0/at] device open count is 3 (open)
ModemManager[205103]: <debug> [1627820684.680621] [modem0/ttyACM0/at] device open count is 2 (close)
ModemManager[205103]: <debug> [1627820684.682133] [modem0/ttyACM0/at] --> 'AT+CPLS=0<CR>'
ModemManager[205103]: <debug> [1627820684.696850] [modem0/ttyACM0/at] <-- '<CR><LF>OK<CR><LF>'
ModemManager[205103]: <debug> [1627820684.699333] [modem0/sim0] setting preferred networks format...
ModemManager[205103]: <debug> [1627820684.700460] [modem0/ttyACM0/at] device open count is 3 (open)
ModemManager[205103]: <debug> [1627820684.701546] [modem0/ttyACM0/at] device open count is 2 (close)
ModemManager[205103]: <debug> [1627820684.702229] [modem0/ttyACM0/at] --> 'AT+CPOL=,2<CR>'
ModemManager[205103]: <debug> [1627820684.718064] [modem0/ttyACM0/at] <-- '<CR><LF>OK<CR><LF>'
ModemManager[205103]: <debug> [1627820684.720494] [modem0/sim0] loading preferred networks...
ModemManager[205103]: <debug> [1627820684.721634] [modem0/ttyACM0/at] device open count is 3 (open)
ModemManager[205103]: <debug> [1627820684.722707] [modem0/ttyACM0/at] device open count is 2 (close)
ModemManager[205103]: <debug> [1627820684.723394] [modem0/ttyACM0/at] --> 'AT+CPOL?<CR>'
ModemManager[205103]: <debug> [1627820684.783383] [modem0/ttyACM0/at] <-- '<CR><LF>+CPOL: 1,2,"60801",1,0,1,1<CR><LF><CR><LF>+CPOL: 2,2,"62701",1,0,1,1<CR><LF><CR><LF>+CPOL: 3,2,"23101",1,0,1,1<CR><LF><CR><LF>+CPOL: 4,2,"37001",1,0,1,1<CR><LF><CR><LF>+CPOL: 5,2,"20820",1,0,1,1<CR><LF><CR><LF>+CPOL: 6,2,"20801",1,0,1,1<CR><LF><CR><LF>+CPOL: 7,2,"26806",1,0,1,1<CR><LF><CR><LF>+CPOL: 8,2,"302220",1,0,1,1<CR><LF><CR><LF>+CPOL: 9,2,"26207",1,0,1,1<CR><LF><CR><LF>+CPOL: 10,2,"23430",1,0,1,1<CR><LF><CR><LF>+CPOL: 11,2,"23410",1,0,1,1<CR><LF><CR><LF>+CPOL: 12,2,"22288",1,0,1,1<CR><LF><CR><LF>+CPOL: 13,2,"310410",1,0,1,1<CR><LF><CR><LF>+CPOL: 14,2,"60401",1,0,1,1<CR><LF><CR><LF>+CPOL: 15,2,"722310",1,0,1,1<CR><LF><CR><LF>+CPOL: 16,2,"42501",1,0,1,1<CR><LF><CR><LF>+CPOL: 17,2,"24007",1,0,1,1<CR><LF><CR><LF>+CPOL: 18,2,"24412",1,0,1,1<CR><LF><CR><LF>+CPOL: 19,2,"21910",1,0,1,1<CR><LF><CR><LF>+CPOL: 20,2,"25001",1,0,1,1<CR><LF><CR><LF>+CPOL: 21,2,"27202",1,0,1,1<CR><LF><CR><LF>+CPOL: 22,2,"74001",1,0,1,1<CR><LF><CR><LF>+CPOL: 23,2,"24205",1,0,1,1<CR><LF><CR><LF>+CPOL: 24,2,"23002",1,0,1,1<CR><LF><CR><LF>+CPOL: 25,2,"52505",1,0,1,1<CR><LF><CR><LF>+CPOL: 26,2,"50503",1,0,1,1<CR><LF><CR><LF>+CPOL: 27,2,"40492",1,0,1,1<CR><LF><CR><LF>+CPOL: 28,2,"74810",1,0,1,1<CR><LF><CR><LF>+CPOL: 29,2,"70401",1,0,1,1<CR><LF><CR><LF>+CPOL: 30,2,"25501",1,0,1,1<CR><LF><CR><LF>+CPOL: 31,2,"28601",1,0,1,1<CR><LF><CR><LF>+CPOL: 32,2,"20210",1,0,1,1<CR><LF><CR><LF>+CPOL: 33,2,"64003",1,0,1,1<CR><LF><CR><LF>+CPOL: 3'
ModemManager[205103]: <debug> [1627820684.795115] [modem0/ttyACM0/at] <-- '4,2,"71021",1,0,1,1<CR><LF><CR><LF>+CPOL: 35,2,"24603",1,0,1,1<CR><LF><CR><LF>+CPOL: 36,2,"27801",1,0,1,1<CR><LF><CR><LF>+CPOL: 37,2,"24803",1,0,1,1<CR><LF><CR><LF>+CPOL: 38,2,"24702",1,0,1,1<CR><LF><CR><LF>+CPOL: 39,2,"60501",1,0,1,1<CR><LF><CR><LF>+CPOL: 40,2,"61203",1,0,1,1<CR><LF><CR><LF>+CPOL: 41,2,"63907",1,0,1,1<CR><LF><CR><LF>+CPOL: 42,2,"64114",1,0,1,1<CR><LF><CR><LF>+CPOL: 43,2,"63203",1,0,1,1<CR><LF><CR><LF>+CPOL: 44,2,"61101",1,0,1,1<CR><LF><CR><LF>+CPOL: 45,2,"60201",1,0,1,1<CR><LF><CR><LF>+CPOL: 46,2,"23205",1,0,1,1<CR><LF><CR><LF>+CPOL: 47,2,"27099",1,0,1,1<CR><LF><CR><LF>+CPOL: 48,2,"22803",1,0,1,1<CR><LF><CR><LF>+CPOL: 49,2,"20610",1,0,1,1<CR><LF><CR><LF>+CPOL: 50,2,"26003",1,0,1,1<CR><LF>'
ModemManager[205103]: <warn> [1627820705.055595] [modem0/sim0] couldn't load list of preferred networks: Serial command timed out
...
ModemManager[205103]: <debug> [1627820705.170276] [modem0/ttyACM0/at] --> 'AT+CEMODE?<CR>'
ModemManager[205103]: <warn> [1627820708.035674] [modem0] couldn't load UE mode of operation for EPS: Serial command timed out
...