I (935) quectel_bg9x_eh_driver::cellular: Initializing Quectel BG9X modem I (3705) esp32c3_example: Read: (8) RDY I (6485) esp32c3_example: Read: (11) ATE1 OK I (6485) quectel_bg9x_eh_driver::cellular: Echo off I (6485) quectel_bg9x_eh_driver::cellular: Sending AT command I (6545) esp32c3_example: Read: (9) AT OK I (6545) quectel_bg9x_eh_driver::cellular: Response Ok I (6595) esp32c3_example: Read: (46) AT+QGMR BG95M3LAR02A03_01.200.01.200 OK I (6595) quectel_bg9x_eh_driver::cellular: Modem version: VersionInfo { code: b'BG95M3LAR02A03_01.200.01.200' } I (6655) esp32c3_example: Read: (32) AT+GSN 866088079125850 OK I (6655) quectel_bg9x_eh_driver::cellular: IMEI: 866088079125850 I (6705) esp32c3_example: Read: (20) APP RDY AT OK I (6705) quectel_bg9x_eh_driver::cellular: Modem alive I (6755) esp32c3_example: Read: (31) AT+CPIN? +CPIN: READY OK I (6755) quectel_bg9x_eh_driver::cellular: SIM status: SimStatus { code: "READY" } I (6755) quectel_bg9x_eh_driver::cellular: SIM Ready I (6815) esp32c3_example: Read: (10) AT+CFUN=0 I (7075) esp32c3_example: Read: (6) OK I (7135) esp32c3_example: Read: (37) AT+QCFG="band",3,80084,80084,1 OK I (7135) quectel_bg9x_eh_driver::cellular: Modem configuration set I (7205) esp32c3_example: Read: (33) AT+QCFG="nwscanseq",0201,1 OK I (7205) quectel_bg9x_eh_driver::cellular: Modem configuration set I (7265) esp32c3_example: Read: (31) AT+QCFG="nwscanmode",0,1 OK I (7265) quectel_bg9x_eh_driver::cellular: Modem configuration set I (7325) esp32c3_example: Read: (34) AT+QCFG="servicedomain",1,1 OK I (7325) quectel_bg9x_eh_driver::cellular: Modem configuration set I (7385) esp32c3_example: Read: (30) AT+QCFG="iotopmode",0,1 OK I (7385) quectel_bg9x_eh_driver::cellular: Modem configuration set I (7435) esp32c3_example: Read: (10) AT+CFUN=1 I (7985) esp32c3_example: Read: (6) OK I (7985) quectel_bg9x_eh_driver::cellular: Attaching... I (8535) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (8535) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (9095) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (9095) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (9655) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (9655) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (10215) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (10215) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (10775) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (10775) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (11335) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (11335) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (11895) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (11895) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (12455) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (12455) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (13015) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (13015) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (13575) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (13575) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (14135) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (14135) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (14695) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (14695) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (15255) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (15255) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (15815) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (15815) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (16375) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (16375) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (16935) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (16935) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (17495) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (17495) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (18055) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (18055) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (18615) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (18615) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (19175) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (19175) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (19735) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (19735) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (20295) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (20295) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (20855) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (20855) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (21415) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (21415) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (21975) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (21975) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (22535) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (22535) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (23095) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (23095) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (23655) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (23655) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (24215) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (24215) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (24775) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (24775) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (25335) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (25335) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (25895) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (25895) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (26455) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (26455) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (27015) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (27015) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (27575) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (27575) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (28155) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (28155) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (28715) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (28715) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (29275) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (29275) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (29835) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (29835) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (30395) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (30395) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (30955) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (30955) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (31515) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (31515) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (32085) esp32c3_example: Read: (41) AT+QNWINFO +QNWINFO: No Service OK I (32085) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "No Service", oper: None, band: None, channel: None } I (32645) esp32c3_example: Read: (63) AT+QNWINFO +QNWINFO: "eMTC","21407","LTE BAND 3",1301 OK I (32645) quectel_bg9x_eh_driver::cellular: Network info: NetworkInfo { act: "eMTC", oper: Some("21407"), band: Some("LTE BAND 3"), channel: Some(1301) } I (32655) quectel_bg9x_eh_driver::cellular: Using LTE-M after 24 s I (33215) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,2 OK I (33215) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 2, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (33785) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,2 OK I (33785) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 2, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (34355) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,2 OK I (34355) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 2, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (34925) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,2 OK I (34925) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 2, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (35495) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,2 OK I (35495) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 2, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (36065) esp32c3_example: Read: (31) AT+CEREG? +CEREG: 0,5 OK I (36065) quectel_bg9x_eh_driver::cellular: EPS network registration status: EPSNetworkRegistrationStatusResponse { n: 0, stat: 5, tac: None, ci: None, act: None, cause_type: None, reject_cause: None, active_time: None, periodic_tau: None } I (36075) quectel_bg9x_eh_driver::cellular: Registered (Roaming) after 3 s I (36145) esp32c3_example: Read: (48) AT+QCSQ +QCSQ: "eMTC",-83,-103,156,-11 OK I (36145) quectel_bg9x_eh_driver::cellular: RSSI: -83dB (51%) I (36145) esp32c3_example: Signal quality: 51% I (36155) quectel_bg9x_eh_driver::cellular: Configuring context... I (36215) esp32c3_example: Read: (33) AT+QICSGP=1,1,"em","","",1 OK I (36215) quectel_bg9x_eh_driver::cellular: Context configuration set I (36275) esp32c3_example: Read: (53) AT+QLTS=1 +QLTS: "2024/08/07,15:37:46+08,1" OK I (36275) quectel_bg9x_eh_driver::cellular: Network time: NetworkTime { time_and_dst: "2024/08/07,15:37:46+08,1" } I (36285) quectel_bg9x_eh_driver::cellular: DT: 2024-08-07T15:37:46Z / DST: 1 I (36285) quectel_bg9x_eh_driver::cellular: Activating context... I (36345) esp32c3_example: Read: (17) AT+QIACT=1 OK I (36345) quectel_bg9x_eh_driver::cellular: Context activated I (36405) esp32c3_example: Read: (47) AT+QIACT? +QIACT: 1,1,1,"10.136.99.9" OK I (36405) quectel_bg9x_eh_driver::cellular: Context status: PDPContextInfo { context_id: 1, context_state: 1, context_type: 1, ip_address: Some("10.136.99.9") } I (36415) quectel_bg9x_eh_driver::cellular: IP Some("10.136.99.9") obtained after 0 s I (36425) quectel_bg9x_eh_driver::cellular: Connecting to MQTT broker... I (36485) esp32c3_example: Read: (46) AT+QMTOPEN=0,"broker.datasense.es",1883 OK I (36485) quectel_bg9x_eh_driver::cellular: Connected to MQTT broker I (36825) esp32c3_example: Read: (17) +QMTOPEN: 0,0 I (36985) quectel_bg9x_eh_driver::cellular: MQTT Open response: MqttOpenResponse { tcpconnect_id: 0, result: 0 } I (36985) quectel_bg9x_eh_driver::cellular: Connection opened I (37045) esp32c3_example: Read: (53) AT+QMTCONN=0,"a_name","darksky","Ct5Q8h6Zhvp3" OK I (37045) quectel_bg9x_eh_driver::cellular: Connected to MQTT broker I (37245) esp32c3_example: Read: (19) +QMTCONN: 0,0,0 I (37545) quectel_bg9x_eh_driver::cellular: MQTT Connect response: MqttConnectResponse { tcpconnect_id: 0, result: 0, ret_code: 0 } I (37545) quectel_bg9x_eh_driver::cellular: Client connected I (37545) quectel_bg9x_eh_driver::cellular: Publishing to some-test/ I (37615) esp32c3_example: Read: (72) AT+QMTPUBEX=0,0,0,0,"some-test/","some-payload" OK +QMTPUB: 0,0,0 I (37615) quectel_bg9x_eh_driver::cellular: Published to MQTT broker I (38115) quectel_bg9x_eh_driver::cellular: MQTT Publish response: MqttPublishResponse { tcpconnect_id: 0, message_id: 0, result: 0, value: None } I (38115) quectel_bg9x_eh_driver::cellular: Publishing successful I (38125) quectel_bg9x_eh_driver::cellular: Disconnecting from MQTT broker... I (38185) esp32c3_example: Read: (36) AT+QMTDISC=0 OK +QMTDISC: 0,0 I (38185) quectel_bg9x_eh_driver::cellular: Disconnected from MQTT broker I (38515) esp32c3_example: Read: (17) +QMTSTAT: 0,5 I (38685) quectel_bg9x_eh_driver::cellular: MQTT Disconnect response: MqttDisconnectResponse { tcpconnect_id: 0, result: 0 } I (38685) quectel_bg9x_eh_driver::cellular: Client disconnected I (39185) quectel_bg9x_eh_driver::cellular: MQTT Status response: MqttStatusResponse { tcpconnect_id: 0, err: 5 } I (39185) quectel_bg9x_eh_driver::cellular: Client disconnected I (39185) quectel_bg9x_eh_driver::cellular: Deactivating context... I (39245) esp32c3_example: Read: (19) AT+QIDEACT=1 OK I (39245) quectel_bg9x_eh_driver::cellular: Context deactivated I (39295) esp32c3_example: Read: (17) AT+QPOWD=1 OK I (39295) quectel_bg9x_eh_driver::cellular: Modem powering down I (39745) esp32c3_example: Read: (16) POWERED DOWN I (41295) quectel_bg9x_eh_driver::cellular: Modem powered down