Loading...
Searching...
No Matches
protocol_common.h
1#pragma once
2
3#include <stdint.h>
4#include <stddef.h>
5
6typedef int32_t iButtonProtocolId;
7
8enum {
9 iButtonProtocolIdInvalid = -1,
10};
11
12typedef enum {
13 iButtonProtocolFeatureExtData = (1U << 0),
14 iButtonProtocolFeatureWriteId = (1U << 1),
15 iButtonProtocolFeatureWriteCopy = (1U << 2),
16} iButtonProtocolFeature;
17
18typedef struct {
19 uint8_t* ptr;
20 size_t size;
Definition protocol_common.h:18