When getting responses from the ESP32 BL I expect the following (based on https://github.com/espressif/esp-serial ... comm_prv.h)
Code: Select all
typedef struct __attribute__((packed))
{
uint8_t direction;
uint8_t command; // One of command_t
uint16_t size;
uint32_t value;
} common_response_t;
typedef struct __attribute__((packed))
{
uint8_t failed;
uint8_t error;
} response_status_t;
typedef struct __attribute__((packed))
{
common_response_t common;
response_status_t status;
} response_t;
For example, the chip detect response is C0 01 0A 04 00 83 1D F0 00 00 00 00 00 C0.
What is going on here?