Skip to content

ublox.conf: Fix "PS attached" when roaming#1

Open
dzaghal wants to merge 1 commit intoMoxa-Linux:masterfrom
dzaghal:patch-1
Open

ublox.conf: Fix "PS attached" when roaming#1
dzaghal wants to merge 1 commit intoMoxa-Linux:masterfrom
dzaghal:patch-1

Conversation

@dzaghal
Copy link

@dzaghal dzaghal commented May 17, 2023

Hello,

Got a problem when using IoT SIM card: those cards are not from a specific network provider. As a result they are ALWAYS roaming.

Existing code only considers "PS attached" when SIM card is in home network (code 1), not roaming (code 5). I've added code 5 to say "atttached" when roaming.

If not, command sudo cell_mgmt start fails and cannot get connection.

I only modify this file because my UC-2100 uses this particular modem. This Moxa model is discontinued, I hope the UC-3100 I should receive soon is using this same modem. Maybe you should see if for other modems the "roaming" option is considered.

CODES

From ublox documentation: https://content.u-blox.com/sites/default/files/SARA-R4_ATCommands_UBX-17003787.pdf
Page 187, chapter 13.14.4:

<stat> Number EPS registration status:
• 0: not registered
• 1: registered, home network
• 2: not registered, but the MT is currently trying to attach or searching an operator
to register to
• 3: registration denied
• 4: unknown (e.g. out of E-UTRAN coverage)
• 5: registered, roaming
• 8: attached for emergency bearer services only (see 3GPP TS 24.008 [82] and 3GPP
TS 24.301 [117] that specify the condition when the MS is considered as attached
for emergency bearer services)

Previously only said "PS attached" when SIM card in home network, not when roaming (actually attached)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant