Hi ,

I have created file using asn compiler and able to use many parameters. I need to know how exactly we can fill the data for the elements defined inside a union using A_SEQUENCE_OF and list. The part of the code is as below.

struct crumbData {
crumbData_PR present;
union History__crumbData_u {
struct HistoryPointSets_01 {
A_SEQUENCE_OF(struct HistoryPointType_01) list;
/ Context for parsing across buffer boundaries /
asn_struct_ctx_t _asn_ctx;
} HistoryPointSets_01;
OCTET_STRING_t HistoryPointSets_02;
OCTET_STRING_t HistoryPointSets_03;
OCTET_STRING_t HistoryPointSets_04;
OCTET_STRING_t HistoryPointSets_05;
OCTET_STRING_t HistoryPointSets_06;
OCTET_STRING_t HistoryPointSets_07;
OCTET_STRING_t HistoryPointSets_08;
OCTET_STRING_t HistoryPointSets_09;
OCTET_STRING_t HistoryPointSets_10;
} choice;
/ Context for parsing across buffer boundaries /
asn_struct_ctx_t _asn_ctx;
} crumbData;

what list means here in asn1 format C files. and i am using C language for coding.

Regards,
Lokesh