Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode DNN as Labels #708

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmasterfunk84
Copy link

According to TS24.501 9.11.2.1B, A DNN value field contains an APN as defined in 3GPP TS 23.003. Section 9.1. The APN consists of one or more labels. Each label is coded as a one octet length field followed by that number of octets coded as 8 bit ASCII characters.

This change will properly account for that, and allow for the use of an APN configured with dots, where the dots in the configuration will be split into the proper labels.

@aligungr
Copy link
Owner

aligungr commented Jun 7, 2024

Thanks for the PR. Currently I am not able to test this modification. Could you show some simple input and output values with different test scenarios?

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.

2 participants