yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
CBOR Parser

YANG and other namespaces maintained in a registry. More...

Collaboration diagram for CBOR Parser:

Functions

status_t cbor_parse_buffer (uint32 sid_tree_id, xmlChar *buff, size_t bufflen, obj_template_t *obj, dlq_hdr_t *returnQ)
 Parse buffer of CBOR into val_value_t structs. More...
 
status_t cbor_parse_file (uint32 sid_tree_id, const char *filespec, obj_template_t *obj, dlq_hdr_t *returnQ)
 Parse file of CBOR into val_value_t structs. More...
 

Detailed Description

YANG and other namespaces maintained in a registry.

Function Documentation

◆ cbor_parse_buffer()

status_t cbor_parse_buffer ( uint32  sid_tree_id,
xmlChar *  buff,
size_t  bufflen,
obj_template_t obj,
dlq_hdr_t *  returnQ 
)

Parse buffer of CBOR into val_value_t structs.

Parameters
sid_tree_idSID tree ID to use to retrieve SIDs
buffbinary buffer to parse
bufflennumber of bytes in buff
objobj_template_t for the object to parse
[out]returnQaddress of Q to store parsed value results
  • returnQ has 1 or more malloced val_value_t representing the parsed value(s)
Returns
return status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cbor_parse_file()

status_t cbor_parse_file ( uint32  sid_tree_id,
const char *  filespec,
obj_template_t obj,
dlq_hdr_t *  returnQ 
)

Parse file of CBOR into val_value_t structs.

Parameters
sid_tree_idSID tree ID to use to retrieve SIDs
filespecfilespec of CBOR file to read
objobj_template_t for the object to parse
[out]returnQaddress of Q to store parsed value results
  • returnQ has 1 or more malloced val_value_t representing the parsed value(s)
Returns
return status
Here is the call graph for this function: