Added types DateAndTime and UUIDorZero

This commit is contained in:
Kristofer Hallin 2022-06-09 20:59:55 +02:00 committed by Olof hagsand
parent d76843fec1
commit 22b2ed51f5

View file

@ -252,6 +252,12 @@ type_yang2asn1(yang_stmt *ys,
else if (strcmp(origtype, "timeticks")==0){ else if (strcmp(origtype, "timeticks")==0){
at = ASN_TIMETICKS; at = ASN_TIMETICKS;
} }
else if (strcmp(origtype, "DateAndTime")==0) {
at = ASN_OCTET_STR;
}
else if (strcmp(origtype, "UUIDorZero")==0) {
at = ASN_OCTET_STR;
}
else if (strcmp(origtype, "timestamp")==0){ else if (strcmp(origtype, "timestamp")==0){
at = ASN_TIMETICKS; at = ASN_TIMETICKS;
} }