  | 
        
           Wirepas SDK
           
         | 
        
          
         | 
      
    
  
 
 
tlv_res_e Tlv_Decode_getNextItem(tlv_record *rcd, tlv_item_t *item)
Decode the next tlv_item in the tlv_record passed in parameter.
 
tlv_res_e Tlv_Encode_addItem(tlv_record *rcd, tlv_item_t *item)
Add a TLV item to the buffer contained in the TLV record.
 
void Tlv_init(tlv_record *rcd, uint8_t *buffer, uint8_t length)
Initialize a TLV record.
 
int Tlv_Encode_getBufferSize(tlv_record *rcd)
Returns the size of the generated buffer by successive calls to Tlv_Encode_addItem.
 
tlv_res_e
List of return codes.
 
Structure describing a Type Length Value item.
 
This structure holds the buffer containing TLV items and data to manage it, max. buffer size and curr...