Skip to content

Comments

Add alternative method for getting message body#2

Open
phazejeff wants to merge 1 commit intoiswheeler:mainfrom
phazejeff:main
Open

Add alternative method for getting message body#2
phazejeff wants to merge 1 commit intoiswheeler:mainfrom
phazejeff:main

Conversation

@phazejeff
Copy link

In my case, the messageBody ended up being null in the received PDU. Further investigation showed that I was receiving a PDU with the needed data, just not in the format that Android seemed to expect. This is fixed by simply converting the raw byte array to an ASCII string and searching for the REG-RESP text in it. This was on LTE Verizon network using a Pixel 3a running LineageOS 19 (which is built from Android 12). Currently unknown whether this was an issue caused by the OS or by Verizon.

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