Skip to content

Conversation

@stefand
Copy link
Contributor

@stefand stefand commented Mar 5, 2025

Here's the promised Pdu::from implementation. I have used it to parse SMS from the storage of Mocor and MAUI dumbphones.

When reviewing, have a look in particular of the handling of the validity_period octet. Online sources I ran into suggest that it is optional, but I found that the octet is always present (i.e., I'm incrementing the offset unconditionally), its just sometimes 0. I don't care about the particular value for my use case.

Yeah, tests would be nice, but this is a hobby project and I may or may not get to it at some point.

@stefand
Copy link
Contributor Author

stefand commented Mar 29, 2025

Hi! Did you have a chance to look at this pull request?

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