4#ifndef _EL_CLIENT_RESPONSE_H_
5#define _EL_CLIENT_RESPONSE_H_
10#define PACKED __attribute__ ((__packed__))
15#define VARIABLE_ARG_NUM 255
38 uint16_t
argLen() {
return *(uint16_t*)_arg_ptr; }
41 int16_t
popArg(
void* data, uint16_t maxLen);
struct PACKED ELClientPacket
void popChar(char *buffer)
Extract a character from the response packet.
String popString()
Extract a string from the response packet.
int16_t popArg(void *data, uint16_t maxLen)
Extract an argument from the response packet.
int16_t popArgPtr(void **data)
Extract pointer to an argument from the response packet.