LTE Modem: (control) Serial Port is blocked by PPP deamon
-
Hi,
I just want to write a small script, that polls information from a 4G/LTE modem.
If the ppp interface is down /dev/cuaU0.3 becomes available - if up unavailable.
sure, the chat script is running…But I want to exec AT!GSMINFO? and AT!GSTATUS? at any point to display it on the dashboard.
AT!GSMINFO?
!GSMINFO:
Serving Cell:
PLMN: 26203
LAC: 31516
Cell ID: 43117
BSIC: 0
NCC: 0
BSCC: 0
RAC: 0
Min Rx Lvl Rqd: -110
Max Rach: Not Available
ARFCN: Not AvailableNeighbour Cells:
Band:
ARFCN:
RAC:
RX level (dBm):
C1:
C2:
C31:
C32:OK
AT!GSTATUS?
!GSTATUS:
Current Time: 16824 Temperature: 40
Bootup Time: 8191 Mode: ONLINE
System mode: WCDMA PS state: Attached
WCDMA band: WCDMA 2100
WCDMA channel: 10786
GMM (PS) state:REGISTERED NORMAL SERVICE
MM (CS) state: IDLE NORMAL SERVICEWCDMA L1 State:L1M_PCH_SLEEP LAC: 7B1C (31516)
RRC State: CELL_PCH Cell ID: 013CA86D (20752493)
RxM RSSI C0: -75 RxD RSSI C0: -106
RxM RSSI C1: -106 RxD RSSI C1: -106Is there any chance to do this? ???
-
Is this Sierra?
My first idea - don't use PPP. Not sure that the drivers for other modes (qmi, mbim) are available on FreeBSD though.
I'm currently using Sierra's EM7455 on Openwrt based router.