Defines common data to be used by demo_esp examples.
More...
#include "parameters.h"
#include "no_os_uart.h"
#include "no_os_timer.h"
#include "no_os_gpio.h"
#include "no_os_irq.h"
Defines common data to be used by demo_esp examples.
- Author
- Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)
Copyright 2023(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ BUFF_LEN
◆ LOCAL
◆ MQTT_CONFIG_CLI_PASS
| #define MQTT_CONFIG_CLI_PASS NULL |
◆ MQTT_CONFIG_CLI_USER
| #define MQTT_CONFIG_CLI_USER NULL |
◆ MQTT_CONFIG_CLIENT_NAME
| #define MQTT_CONFIG_CLIENT_NAME "esp-client" |
◆ MQTT_CONFIG_CMD_TIMEOUT
| #define MQTT_CONFIG_CMD_TIMEOUT 20000 |
◆ MQTT_CONFIG_KEEP_ALIVE
| #define MQTT_CONFIG_KEEP_ALIVE 7200 |
◆ MQTT_CONFIG_VERSION
| #define MQTT_CONFIG_VERSION MQTT_VERSION_3_1 |
◆ MQTT_ECLIPSE
◆ MQTT_PAYLOAD_BUFF_LEN
| #define MQTT_PAYLOAD_BUFF_LEN 100 |
◆ MQTT_PUBLISH_TOPIC
| #define MQTT_PUBLISH_TOPIC "sensor" |
◆ MQTT_SUBSCRIBE_TOPIC
| #define MQTT_SUBSCRIBE_TOPIC "esp_messages" |
◆ SCAN_SENSOR_TIME
| #define SCAN_SENSOR_TIME 500 |
◆ SERVER_ADDR
| #define SERVER_ADDR "test.mosquitto.org" |
◆ SERVER_PORT
◆ TEST_MOSQUITTO
◆ WIFI_PASS
| #define WIFI_PASS "Password" |
◆ WIFI_SSID
| #define WIFI_SSID "WifiSSID" |
◆ gpio_wifi_rst_ip
◆ irq_ip
◆ timer_ip
◆ uart_ip
UART initialization parameters for console communication