You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hy everybody, I am working with Thales PLS83-W modem and use the CONFIG_MODEM_GSM_PPP=y to get PPP interface up and running and everything works fine, after the modem is registered to the network I get an IP address and PPP interface is up and running. But when I enable the CONFIG_GSM_MUX=y I run into problems. After the modem is registered to the network I don't get the IP address anymore, and PPP is stuck in the REQUEST_sent phase and never gets UP.
I had to increase the GSM_CMD_AT_TIMEOUT from 2 to 5 seconds, and tried swapping the PPP and AT channels:
CONFIG_GSM_MUX_DLCI_PPP=1
CONFIG_GSM_MUX_DLCI_AT=2
but nothing helped
These are the logs when CONFIG_GSM_MUX=y is disabled and everything works fine:
***** Booting Zephyr OS build 53987830411a ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: primary slot
I: Swap type: none
I: Bootloader chainload address offset: 0x10000
I: Jumping to the first image slot
[00:00:00.000,000] <dbg> net_ppp: ppp_driver_init: [0x20003258] dev 0x8066a74
[00:00:00.005,000] <dbg> net_if: net_if_init: (main):
[00:00:00.005,000] <dbg> net_if: init_iface: (main): On iface 0x20000af4
[00:00:00.005,000] <dbg> net_ppp: ppp_iface_init: [0x20003258] iface 0x20000af4
[00:00:00.005,000] <dbg> net_l2_ppp: net_ppp_init: (main): Initializing PPP L2 0x20003028 for iface 0x20000af4
[00:00:00.005,000] <dbg> net_l2_ppp: ppp_startup: (sysworkq): PPP 0x20003028 startup for interface 0x20000af4
[00:00:00.005,000] <dbg> net_l2_ppp: ipcp_init: (sysworkq): proto IPCP (0x8021) fsm 0x20003140
[00:00:00.005,000] <dbg> net_l2_ppp: lcp_init: (sysworkq): proto LCP (0xc021) fsm 0x20003070
[00:00:00.005,000] <dbg> net_if: net_if_post_init: (main):
*** Booting Zephyr OS build 7e22bfaff313 ***
[00:00:01.022,000] <dbg> conn_mgr: conn_mgr_handler: (conn_mgr): Connection Manager started
[00:00:01.022,000] <dbg> net_l2_ppp: tx_handler: (tx_handler_thread): PPP TX started
[00:00:15.010,000] <err> modem_gsm: gsm_setup_mccmno returned -5, retrying...
[00:00:17.587,000] <inf> net_ppp: Initializing PPP to use LPUART_1
--- 49 messages dropped ---
[00:00:17.597,000] <dbg> net_ppp: net_pkt_hexdump: send ppp
--- 126 messages dropped ---
[00:00:17.618,000] <dbg> net_ppp: ppp_consume_ringbuf: Ringbuf 0x2000328c is empty!
--- 82 messages dropped ---
[00:00:17.639,000] <dbg> net_ppp: ppp_consume_ringbuf: Ringbuf 0x2000328c is empty!
--- 61 messages dropped ---
[00:00:17.643,000] <dbg> net_l2_ppp: net_pkt_hexdump: recv L2
[00:00:17.643,000] <dbg> net_l2_ppp: net_pkt_hexdump: 0x20022a60
80 21 02 02 00 16 03 06 0a dc 7f d6 81 06 0a 4a |.!...... .......J
d2 d2 83 06 0a 4a d2 d3 |.....J..
[00:00:17.643,000] <dbg> net_l2_ppp: ppp_fsm_input: (rx_q[0]): [IPCP/0x20003140] IPCP Configure-Ack (2) id 2 payload len 18
[00:00:17.643,000] <dbg> net_l2_ppp: fsm_recv_configure_ack: (rx_q[0]): [IPCP/0x20003140] Current state ACK_SENT (8)
[00:00:17.643,000] <dbg> net_l2_ppp: ppp_change_state_debug: (rx_q[0]): [IPCP/0x20003140] state ACK_SENT (8) => OPENED (9) (fsm_recv_configure_ack():706)
[00:00:17.643,000] <dbg> net_if: net_if_ipv4_addr_add: (rx_q[0]): [0] interface 0x20000af4 address 10.220.127.214 type MANUAL added
[00:00:17.643,000] <dbg> net_l2_ppp: ipcp_up: (rx_q[0]): PPP up with address 10.220.127.214
[00:00:17.643,000] <dbg> net_l2_ppp: ppp_change_phase_debug: (rx_q[0]): [0x20003028] phase NETWORK (3) => RUNNING (4) (ppp_network_up():22)
[00:00:17.643,000] <dbg> net_l2_ppp: ppp_network_up: (rx_q[0]): [0x20003028] Proto IPv4 (0x0021) up (1)
[00:00:17.643,000] <dbg> net_l2_ppp: ipcp_up: (rx_q[0]): [IPCP/0x20003140] Current state OPENED (9)
[00:00:17.643,000] <dbg> conn_mgr: conn_mgr_ipv4_events_handler: (net_mgmt): IPv4 event 3758358529 received on iface 1 (0x20000af4)
[00:00:17.643,000] <dbg> conn_mgr: conn_mgr_ipv4_events_handler: (net_mgmt): Iface index 0
[00:00:17.643,000] <dbg> conn_mgr: conn_mgr_ipv4_status: (conn_mgr): IPv4 connected on iface index 1
[00:00:17.643,000] <dbg> conn_mgr: conn_mgr_notify_status: (conn_mgr): Iface 1 (0x20000af4) connected**
And these are the logs when CONFIG_GSM_MUX=y is enabled and PPP can't get up:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hy everybody, I am working with Thales PLS83-W modem and use the
CONFIG_MODEM_GSM_PPP=y
to get PPP interface up and running and everything works fine, after the modem is registered to the network I get an IP address and PPP interface is up and running. But when I enable theCONFIG_GSM_MUX=y
I run into problems. After the modem is registered to the network I don't get the IP address anymore, and PPP is stuck in the REQUEST_sent phase and never gets UP.I had to increase the GSM_CMD_AT_TIMEOUT from 2 to 5 seconds, and tried swapping the PPP and AT channels:
CONFIG_GSM_MUX_DLCI_PPP=1
CONFIG_GSM_MUX_DLCI_AT=2
but nothing helped
These are the logs when CONFIG_GSM_MUX=y is disabled and everything works fine:
And these are the logs when CONFIG_GSM_MUX=y is enabled and PPP can't get up:
My prj.conf file:
Beta Was this translation helpful? Give feedback.
All reactions