Skip to content

NET_SDK_TLV_BUFFER_DESC

Structure Definition

1
2
3
4
5
6
7
typedef struct _net_sdk_tag_TLV_buffer_description
{
    unsigned char ucID;      
    unsigned char ucVersion; 
    unsigned short usNumber; 
    unsigned int dwSize;     
} NET_SDK_TLV_BUFFER_DESC;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_TLV_BUFFER_DESC
{
    public byte ucID;
    public byte ucVersion;
    public UInt16 usNumber;
    public UInt32 dwSize;
}

Function Description

TLV buffer description.

Member Description

Member Type Remark
ucID unsigned char 1B, data ID, defined by the application.
ucVersion unsigned char 1B, data version, defined by the application.
usNumber unsigned short 2B, unit quantity, maximum 65535.
dwSize unsigned int 4B, single information size, total length = usNumber*dwSize.
Error Code