mouse07410 / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
101 stars 73 forks source link

BIT_STRING example #82

Open devendranaga opened 3 years ago

devendranaga commented 3 years ago

Hello,

Anyone have an example of BIT_STRING encoding and decoding with asn1c?

For example using the below definition:

/ Dependencies / typedef enum TestValue { Test_Value_unavailable = 0, Test_Value_1 = 1, Test_Value_2 = 2, } e_TestValue;

/ TestValue / typedef BIT_STRING_t TestValue_t;

Thanks,