<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Aleksander,<br></div><div><br></div><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
What libqmi version are you using? If you're using 1.22.0, please<br>
update to 1.22.2 and retest.<br>
<br></blockquote></div></blockquote><div><br></div><div>
<div>Sorry for the delay in getting back to you and the list. With 
1.22.2 we see debug messages but also see a change in behaviour. When 
receiving the cancel location we are now seeing a termination report, 
the device immediately reconnects as it should.</div><div><br></div><div>Can
 you tell me which commit is responsible for this change in behaviour? I
 will consider upgrading or backporting the fix to our current release depending on the complexity.</div><div><br></div><div>Thanks very much for your help, the resulting debug logs follow.</div><div><br></div><div>-JohnF<br></div><div><br></div><div>2019-03-28T14:46:38.124881+01:00
 router ModemManager[951]: [/dev/cdc-wdm0] received 
message...#012<<<<<< 
RAW:#012<<<<<<   length = 
22#012<<<<<<<br>data   = 01:15:00:80:01:08:04:00:00:01:00:09:00:22:02:00:02:01:1F:01:00:02<br>2019-03-28T14:46:38.125367+01:00
 
router 

ModemManager[951]: [/dev/cdc-wdm0] received generic indication 
(translated)...#012<<<<<< 
QMUX:#012<<<<<<<br> length  = 
21#012<<<<<<   flags   = 
0x80#012<<<<<<   service = 
"wds"#012<<<<<<   client  = 
8#012<<<<<< QMI:#012<<<<<<   
flags       = "indication"#012<<<<<<   transaction = 
0#012<<<<<<   tlv_length  = 
9#012<<<<<<   message     = "Event Report" 
(0x0001)#012<<<<<< TLV:#012<<<<<<   
type       = "Data Call Type" (0x22)#012<<<<<<   
length     = 2#012<<<<<<   value      = 
02:01#012<<<<<<   translated = [ data_call_type = 
'tethered' tethered_call_type = 'rmnet' 
]#012<<<<<<TLV:#012<<<<<<   
type       = "Data Call Status" (0x1f)#012<<<<<<   
length     = 1#012<<<<<<   value      = 
02#012<<<<<<   translated = terminated<br>2019-03-28T14:46:38.125631+01:00 
router 

ModemManager[951]: <debug> Got QMI WDS event report<br>2019-03-28T14:46:38.156785+01:00
 
router 

ModemManager[951]: [/dev/cdc-wdm0] received 
message...#012<<<<<< 
RAW:#012<<<<<<   length = 
34#012<<<<<<<br>data   = 01:21:00:80:01:08:04:00:00:22:00:15:00:01:02:00:01:00:10:02:00:01:00:11:04:00:03:00:04:04:12:01:00:04<br>2019-03-28T14:46:38.158721+01:00
 
router 

ModemManager[951]: [/dev/cdc-wdm0] received generic indication 
(translated)...#012<<<<<< 
QMUX:#012<<<<<<<br> length  = 
33#012<<<<<<   flags   = 
0x80#012<<<<<<   service = 
"wds"#012<<<<<<   client  = 
8#012<<<<<< QMI:#012<<<<<<   
flags       = "indication"#012<<<<<<  transaction = 
0#012<<<<<<   tlv_length  = 
21#012<<<<<<   message     = "Packet Service Status" 
(0x0022)#012<<<<<< TLV:#012<<<<<<   
type       = "Connection Status" (0x01)#012<<<<<<   
length     = 2#012<<<<<<   value      = 
01:00#012<<<<<<   translated = [ status = 
'disconnected' reconfiguration_required = 
'no']#012<<<<<< TLV:#012<<<<<<   
type       = "Call End Reason" (0x10)#012<<<<<<   
length     = 2#012<<<<<<   value      = 
01:00#012<<<<<<   translated = 
generic-unspecified#012<<<<<< 
TLV:#012<<<<<<   type       = "Verbose Call End 
Reason" (0x11)#012<<<<<<   length     = 
4#012<<<<<<   value      = 
03:00:04:04#012<<<<<<   translated = [ type = 'cm' 
reason = '1028' ]#012<<<<<< 
TLV:#012<<<<<<   type       = "IP Family" 
(0x12)#012<<<<<<   length     = 
1#012<<<<<<   value<br>  = 04#012<<<<<<   translated = ipv4<br>2019-03-28T14:46:38.160578+01:00 
router 

ModemManager[951]: <info>  bearer call end reason (1): 'generic-unspecified'<br>2019-03-28T14:46:38.161765+01:00 
router 

ModemManager[951]: <info>  bearer verbose call end reason (3,1028): [cm] (null)<br></div></div><br></div></div>