Skip to content

fix(fibocom): read MediaTek carrier and parse CGPADDR IPv4 - #254

Merged
FUjr merged 1 commit into
mainfrom
fix/fm350-carrier-cgpaddr
Aug 21, 2026
Merged

fix(fibocom): read MediaTek carrier and parse CGPADDR IPv4#254
FUjr merged 1 commit into
mainfrom
fix/fm350-carrier-cgpaddr

Conversation

@FUjr

@FUjr FUjr commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Fixes part of #169.

  • use AT+GTCURCAR? for Fibocom MediaTek carrier names, with AT+COPS? fallback
  • parse only quoted, non-zero IPv4 values from AT+CGPADDR, avoiding FM350 dotted IPv6 values
  • add command and parser regression coverage

Co-authored-by: @billtv

The PDP and DNS changes are intentionally excluded because they need a CID-aware solution and separate IPv6 DNS coverage.

Use AT+GTCURCAR? for MediaTek carrier names, with AT+COPS? fallback.

Only accept quoted, non-zero IPv4 addresses from AT+CGPADDR so FM350 dotted IPv6 output is not mistaken for an IPv4 address.

Co-authored-by: billtv <billtv@users.noreply.github.com>
@FUjr
FUjr force-pushed the fix/fm350-carrier-cgpaddr branch from c1aa021 to 1659e81 Compare August 21, 2026 09:43
@FUjr
FUjr merged commit 41f87e5 into main Aug 21, 2026
11 checks passed
@FUjr
FUjr deleted the fix/fm350-carrier-cgpaddr branch August 21, 2026 10:05
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