10typedef int32_t ProtocolId;
12#define PROTOCOL_NO (-1)
13#define PROTOCOL_ALL_FEATURES (0xFFFFFFFF)
19void protocol_dict_set_data(
21 size_t protocol_index,
25void protocol_dict_get_data(
27 size_t protocol_index,
31size_t protocol_dict_get_data_size(
ProtocolDict* dict,
size_t protocol_index);
33size_t protocol_dict_get_max_data_size(
ProtocolDict* dict);
35const char* protocol_dict_get_name(
ProtocolDict* dict,
size_t protocol_index);
37const char* protocol_dict_get_manufacturer(
ProtocolDict* dict,
size_t protocol_index);
41uint32_t protocol_dict_get_features(
ProtocolDict* dict,
size_t protocol_index);
43ProtocolId protocol_dict_decoders_feed(
ProtocolDict* dict,
bool level, uint32_t duration);
45ProtocolId protocol_dict_decoders_feed_by_feature(
51ProtocolId protocol_dict_decoders_feed_by_id(
53 size_t protocol_index,
57bool protocol_dict_encoder_start(
ProtocolDict* dict,
size_t protocol_index);
67uint32_t protocol_dict_get_validate_count(
ProtocolDict* dict,
size_t protocol_index);
69ProtocolId protocol_dict_get_protocol_by_name(
ProtocolDict* dict,
const char* name);
71bool protocol_dict_get_write_data(
ProtocolDict* dict,
size_t protocol_index,
void* data);
Definition level_duration.h:15
Definition protocol_dict.c:4