Low-level module consists of callback-only functions, which are called by middleware and must be implemented by final application.
Check Porting guide for actual implementation
Low-level communication functions.
typedef size_t (*
esp_ll_send_fn)(const void *data, size_t len)¶
Function prototype for AT output data.
Number of bytes sent
[in] data: Pointer to data to send. This parameter can be set to
[in] len: Number of bytes to send. This parameter can be set to
0to indicate that internal buffer can be flushed to stream. This is implementation defined and feature might be ignored
typedef uint8_t (*
Function prototype for hardware reset of ESP device.
1on successful action,
[in] state: State indicating reset. When set to
1, reset must be active (usually pin active low), or set to
0when reset is cleared
Callback function called from initialization process.
This function may be called multiple times if AT baudrate is changed from application. It is important that every configuration except AT baudrate is configured only once!
This function may be called from different threads in ESP stack when using OS. When ESP_CFG_INPUT_USE_PROCESS is set to
1, this function may be called from user UART thread.
[inout] ll: Pointer to esp_ll_t structure to fill data for communication functions
- #include <esp_typedefs.h>
Low level user specific functions.
- typedef size_t (*