27#ifndef DETERMINISTICESPASYNCWEBSERVER_CIP_H
28#define DETERMINISTICESPASYNCWEBSERVER_CIP_H
38#define CIP_SC_GET_ATTR_ALL 0x01
39#define CIP_SC_GET_ATTR_LIST 0x03
40#define CIP_SC_SET_ATTR_LIST 0x04
41#define CIP_SC_GET_ATTR_SINGLE 0x0E
42#define CIP_SC_SET_ATTR_SINGLE 0x10
43#define CIP_REPLY_FLAG 0x80
46#define CIP_SEG_LOGICAL 0x20
47#define CIP_SEG_CLASS 0x00
48#define CIP_SEG_INSTANCE 0x04
49#define CIP_SEG_ATTRIBUTE 0x10
50#define CIP_SEG_8BIT 0x00
51#define CIP_SEG_16BIT 0x01
53#define CIP_STATUS_SUCCESS 0x00
60size_t cip_build_epath(uint8_t *buf,
size_t cap, uint16_t class_id, uint16_t instance_id, uint16_t attribute_id,
64size_t cip_build_request(uint8_t *buf,
size_t cap, uint8_t service,
const uint8_t *epath,
size_t epath_len,
65 const uint8_t *data,
size_t data_len);
68size_t cip_build_get_attr_single(uint8_t *buf,
size_t cap, uint16_t class_id, uint16_t instance_id,
69 uint16_t attribute_id);
75 uint8_t general_status;
81bool cip_parse_response(
const uint8_t *buf,
size_t len, CipResponse *out);
User-facing configuration for DeterministicESPAsyncWebServer.