SE050 Driver
API reference
Loading...
Searching...
No Matches
Namespaces | Functions
se050_tlv.hpp File Reference

Minimal BER-TLV helpers used by SE050 command payloads and responses. More...

#include "se050_types.hpp"
#include <cstddef>
#include <cstdint>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  se050
 
namespace  se050::tlv
 

Functions

Error se050::tlv::AppendTagAndLength (std::uint8_t tag, std::size_t value_len, std::uint8_t *out, std::size_t out_cap, std::size_t *off) noexcept
 
Error se050::tlv::Append (std::uint8_t tag, const std::uint8_t *value, std::size_t value_len, std::uint8_t *out, std::size_t out_cap, std::size_t *off) noexcept
 
Error se050::tlv::AppendU8 (std::uint8_t tag, std::uint8_t value, std::uint8_t *out, std::size_t out_cap, std::size_t *off) noexcept
 
Error se050::tlv::AppendU16Be (std::uint8_t tag, std::uint16_t value, std::uint8_t *out, std::size_t out_cap, std::size_t *off) noexcept
 
bool se050::tlv::DecodeLength (const std::uint8_t *data, std::size_t data_len, std::size_t *off, std::size_t *value_len) noexcept
 
bool se050::tlv::FindFirst (std::uint8_t wanted_tag, const std::uint8_t *tlv_data, std::size_t tlv_len, const std::uint8_t **value_out, std::size_t *value_len_out) noexcept
 

Detailed Description

Minimal BER-TLV helpers used by SE050 command payloads and responses.