PPP with SIM800: `lcp_rx: We only support default or all zeros for ACCM`
The device (ESP32, TTGO T-Call) is not getting an IP address when using PPP.
Enabling CONFIG_DEBUG_NET_INFO gives me: lcp_rx: We only support default or all zeros for ACCM which repeats indefinitely.
This article suggests adding AT+QACCM=0,0 to the modem init chat, but this is a Quectel-specific command.
On SIM800, it should correspond to AT+IFC=0,0, but adding "OK AT+IFC=0,0 " to connect_script after ATE1 didn't help (still have same error).
Adding bptr += 4; patch to lcp.c as suggested here helps, but I'm not sure if it has any side-effects.
@xiaoxiang781216 could we please revisit it? We discussed about this issue years ago (https://acassis.wordpress.com/2019/02/24/accessing-internet-from-nuttx-ppp-connection/) and now @vshymanskyy still finding the same issue. Do you know someone expert on PPP protocol that could help us?
@xiaoxiang781216 could we please revisit it? We discussed about this issue years ago (https://acassis.wordpress.com/2019/02/24/accessing-internet-from-nuttx-ppp-connection/) and now @vshymanskyy still finding the same issue.
I think we need net_ipv4addr_hdrcopy which cast the type to uint16_t but it mayn't work on all possible platform, or at least layout write_buf on 2/4 bytes boundary.
Do you know someone expert on PPP protocol that could help us?
Sorry, we never use PPP in production.