Skip to content

ASN.1 value notation output #128

@harmic

Description

@harmic

Does Hampi currently support (or is there any plan to support) a mechanism to output decoded PDUs in the ASN.1 value notation?

Ie. something like this:

value UL-CCCH-Message ::= 
{
  message c1 : rrcConnectionRequest : 
  {
    criticalExtensions rrcConnectionRequest-r8 : 
    {
      ue-Identity s-TMSI : 
      {
        mmec '10101000'B,
        m-TMSI '11101110 01010000 10010111 11111100'B
      },
      establishmentCause mo-Data,
      spare '0'B
    }
  }
}

I know I can print them via the Debug trait, but that comes out in a rust debug format which is quite different to the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions