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

E2AP PDU Decoding #3

Open
lightxy233 opened this issue Apr 3, 2023 · 2 comments
Open

E2AP PDU Decoding #3

lightxy233 opened this issue Apr 3, 2023 · 2 comments
Assignees

Comments

@lightxy233
Copy link

Hello, forgive me for submitting a similar issue, I'm confused about decoding the data in E2AP PDU since I don't know how to get right numbers sent from NS3 and the "E2SM strings" in issue#2

For example, the Decoded E2AP PDU in log is

Decoded E2AP PDU: InitiatingMessage ::= {     procedureCode: 5     criticality: 1 (ignore)     
   value: RICindication ::= {         protocolIEs: ProtocolIE-Container ::= {             
      RICindication-IEs ::= {                 id: 29                 criticality: 0 (reject)                 value: RICrequestID ::= {                     ricRequestorID: 24                     ricInstanceID: 0                 }             }             
      RICindication-IEs ::= {                 id: 5                 criticality: 0 (reject)                 value: 200             }             
      RICindication-IEs ::= {                 id: 15                 criticality: 0 (reject)                 value: 1             }             
      RICindication-IEs ::= {                 id: 27                 criticality: 0 (reject)                 value: 1             }             
      RICindication-IEs ::= {                 id: 28                 criticality: 0 (reject)                 value: 0 (report)             }             
      RICindication-IEs ::= {                 id: 25                 criticality: 0 (reject)                 value:                      00 00 00 01 87 46 2F 6E F4 00 31 31 31 50 32 00                      63 32             }             
      RICindication-IEs ::= {                 id: 26                 criticality: 0 (reject)                 value:                      30 80 00 00 60 31 31 31 33 32 00 32 F0 00 8B 00                      8B 02 31 31 31 00 00 60 01 A6 00 00 04 31 31 31                      32 05 01 60 54 42 2E 54 6F 74 4E 62 72 44 6C 49                      6E 69 74 69 61 6C 2E 51 70 73 6B 00 02 03 50 01                      70 54 42 2E 54 6F 74 4E 62 72 44 6C 49 6E 69 74                      69 61 6C 2E 31 36 51 61 6D 00 02 01 49 01 70 54                      42 2E 54 6F 74 4E 62 72 44 6C 49 6E 69 74 69 61                      6C 2E 36 34 51 61 6D 00 02 01 3F 00 C0 52 52 55                      2E 50 72 62 55 73 65 64 44 6C 00 01 74 01 10 44                      52 42 2E 4D 65 61 6E 41 63 74 69 76 65 55 65 44                      6C 00 01 07 00 06 40 05 30 30 30 30 33 01 00 F0                      44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45 49 44                      20 04 80 03 01 97 40 05 30 30 30 31 32 01 00 F0                      44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45 49 44                      20 04 80 01 00 F7 40 05 30 30 30 30 36 01 00 F0                      44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45 49 44                      20 04 80 01 03 29 40 05 30 30 30 31 31 01 00 F0                      44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45 49 44                      20 05 80 00 00 62 25 40 05 30 30 30 30 37 01 00                      F0 44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45 49                      44 20 05 80 00 00 62 25 40 05 30 30 30 31 30 01                      00 F0 44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45                      49 44 20 04 80 01 0A 55 40 05 30 30 30 30 39 01                      00 F0 44 52 42 2E 55 45 54 68 70 44 6C 2E 55 45                      49 44 20 04 80 00 05 9B             }             
      RICindication-IEs ::= {                 id: 20                 criticality: 0 (reject)                 value: 63 70 69 64             }         }     } } "}


For RICindicationMessage (the part after RICindication-IEs ::= { id: 26 ), I know some bytes represent ASCII code, but I don't know how to handle the rest

0�`111322ð���111`�¦�1112��`TB.TotNbrDlInitial.Qpsk��P�pTB.TotNbrDlInitial.16Qam��I�pTB.TotNbrDlInitial.64Qam��?ÀRRU.PrbUsedDl�t��DRB.MeanActiveUeDl���@�00003�ðDRB.UEThpDl.UEID �����@�00012�ðDRB.UEThpDl.UEID ���÷@�00006�ðDRB.UEThpDl.UEID ����)@�00011�ðDRB.UEThpDl.UEID ��b%@�00007�ðDRB.UEThpDl.UEID ��b%@�00010�ðDRB.UEThpDl.UEID ���
U@�00009�ðDRB.UEThpDl.UEID ����

Is there any recommended way to obtain original information from Decoded E2AP PDU ?

@Thecave3 Thecave3 self-assigned this Apr 3, 2023
@Thecave3 Thecave3 changed the title E2AP PUD Decoding E2AP PDU Decoding Apr 3, 2023
@Thecave3
Copy link
Contributor

Thecave3 commented Apr 6, 2023

Hi @lightxy233, you can find an example of the decoding on the O-RAN documentation.
In the next release, we will share also a C++ example.
I'm gonna keep this thread open until the next release.

@lightxy233
Copy link
Author

Thanks, looking forward to your new release!

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

No branches or pull requests

2 participants