add Info.md, api edit
This commit is contained in:
parent
73eaa8982e
commit
9a6c4d8748
4 changed files with 31 additions and 22 deletions
4
embadet/Info.md
Normal file
4
embadet/Info.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Info
|
||||||
|
## sensor isshus
|
||||||
|
## compiling errors
|
||||||
|
when the temp input is non tr it mid be a compyling error caude by a falty sdk configuration
|
|
@ -29,6 +29,7 @@ CONFIG_BOOTLOADER_APP_TEST_IN_OTA_1=
|
||||||
CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=
|
CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=
|
||||||
CONFIG_BOOTLOADER_HOLD_TIME_GPIO=
|
CONFIG_BOOTLOADER_HOLD_TIME_GPIO=
|
||||||
CONFIG_BOOTLOADER_STORE_OFFSET=0x0
|
CONFIG_BOOTLOADER_STORE_OFFSET=0x0
|
||||||
|
CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y
|
||||||
CONFIG_SECURE_BOOT_ENABLED=
|
CONFIG_SECURE_BOOT_ENABLED=
|
||||||
CONFIG_SECURE_BOOTLOADER_ONE_TIME_FLASH=
|
CONFIG_SECURE_BOOTLOADER_ONE_TIME_FLASH=
|
||||||
CONFIG_SECURE_BOOTLOADER_REFLASHABLE=
|
CONFIG_SECURE_BOOTLOADER_REFLASHABLE=
|
||||||
|
@ -52,13 +53,13 @@ CONFIG_ESPTOOLPY_BAUD_2MB=
|
||||||
CONFIG_ESPTOOLPY_BAUD_OTHER=
|
CONFIG_ESPTOOLPY_BAUD_OTHER=
|
||||||
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
|
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
|
||||||
CONFIG_ESPTOOLPY_BAUD=115200
|
CONFIG_ESPTOOLPY_BAUD=115200
|
||||||
CONFIG_ESPTOOLPY_COMPRESSED=y
|
CONFIG_ESPTOOLPY_COMPRESSED=
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE_QOUT=
|
CONFIG_ESPTOOLPY_FLASHMODE_QOUT=
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE_DIO=
|
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE_DOUT=
|
CONFIG_ESPTOOLPY_FLASHMODE_DOUT=
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE="dio"
|
CONFIG_ESPTOOLPY_FLASHMODE="dio"
|
||||||
CONFIG_SPI_FLASH_MODE=0x0
|
CONFIG_SPI_FLASH_MODE=0x2
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
|
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
|
||||||
|
@ -100,7 +101,7 @@ CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=
|
||||||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
|
||||||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=
|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=
|
||||||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=
|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=
|
||||||
CONFIG_COMPILER_CXX_EXCEPTIONS=
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y
|
CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y
|
||||||
CONFIG_COMPILER_STACK_CHECK_MODE_NORM=
|
CONFIG_COMPILER_STACK_CHECK_MODE_NORM=
|
||||||
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=
|
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=
|
||||||
|
@ -119,6 +120,8 @@ CONFIG_ESP_TLS_USING_MBEDTLS=y
|
||||||
CONFIG_ESP_TLS_USING_WOLFSSL=
|
CONFIG_ESP_TLS_USING_WOLFSSL=
|
||||||
CONFIG_ESP_TLS_SERVER=
|
CONFIG_ESP_TLS_SERVER=
|
||||||
CONFIG_ESP_TLS_PSK_VERIFICATION=
|
CONFIG_ESP_TLS_PSK_VERIFICATION=
|
||||||
|
CONFIG_ESP_TLS_INSECURE=
|
||||||
|
CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=
|
||||||
CONFIG_ESP_WOLFSSL_SMALL_CERT_VERIFY=
|
CONFIG_ESP_WOLFSSL_SMALL_CERT_VERIFY=
|
||||||
CONFIG_ESP_DEBUG_WOLFSSL=
|
CONFIG_ESP_DEBUG_WOLFSSL=
|
||||||
CONFIG_ESP_WOLFSSL_INTERNAL=
|
CONFIG_ESP_WOLFSSL_INTERNAL=
|
||||||
|
@ -470,6 +473,7 @@ CONFIG_MBEDTLS_SSL_PROTO_SSL3=
|
||||||
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
|
||||||
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
|
||||||
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1=
|
||||||
CONFIG_MBEDTLS_SSL_PROTO_DTLS=
|
CONFIG_MBEDTLS_SSL_PROTO_DTLS=
|
||||||
CONFIG_MBEDTLS_SSL_ALPN=y
|
CONFIG_MBEDTLS_SSL_ALPN=y
|
||||||
CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y
|
CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y
|
||||||
|
@ -533,7 +537,7 @@ CONFIG_MQTT_CUSTOM_OUTBOX=
|
||||||
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
|
||||||
CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
|
||||||
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
|
||||||
CONFIG_NEWLIB_NANO_FORMAT=y
|
CONFIG_NEWLIB_NANO_FORMAT=
|
||||||
CONFIG_OPENSSL_DEBUG=
|
CONFIG_OPENSSL_DEBUG=
|
||||||
CONFIG_OPENSSL_DEBUG_LEVEL=
|
CONFIG_OPENSSL_DEBUG_LEVEL=
|
||||||
CONFIG_OPENSSL_LOWLEVEL_DEBUG=
|
CONFIG_OPENSSL_LOWLEVEL_DEBUG=
|
||||||
|
@ -546,6 +550,7 @@ CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5
|
||||||
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
|
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
|
||||||
CONFIG_PTHREAD_STACK_MIN=768
|
CONFIG_PTHREAD_STACK_MIN=768
|
||||||
CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread"
|
CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread"
|
||||||
|
CONFIG_ENABLE_TH25Q16HB_PATCH_0=
|
||||||
CONFIG_SPIFFS_MAX_PARTITIONS=3
|
CONFIG_SPIFFS_MAX_PARTITIONS=3
|
||||||
CONFIG_SPIFFS_CACHE=y
|
CONFIG_SPIFFS_CACHE=y
|
||||||
CONFIG_SPIFFS_CACHE_WR=y
|
CONFIG_SPIFFS_CACHE_WR=y
|
||||||
|
@ -592,9 +597,9 @@ CONFIG_WPA_SCAN_CACHE=
|
||||||
CONFIG_TARGET_PLATFORM="esp8266"
|
CONFIG_TARGET_PLATFORM="esp8266"
|
||||||
CONFIG_TOOLPREFIX="xtensa-lx106-elf-"
|
CONFIG_TOOLPREFIX="xtensa-lx106-elf-"
|
||||||
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=
|
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=
|
||||||
CONFIG_FLASHMODE_QIO=y
|
CONFIG_FLASHMODE_QIO=
|
||||||
CONFIG_FLASHMODE_QOUT=
|
CONFIG_FLASHMODE_QOUT=
|
||||||
CONFIG_FLASHMODE_DIO=
|
CONFIG_FLASHMODE_DIO=y
|
||||||
CONFIG_FLASHMODE_DOUT=
|
CONFIG_FLASHMODE_DOUT=
|
||||||
CONFIG_MONITOR_BAUD_9600B=
|
CONFIG_MONITOR_BAUD_9600B=
|
||||||
CONFIG_MONITOR_BAUD_57600B=
|
CONFIG_MONITOR_BAUD_57600B=
|
||||||
|
@ -611,7 +616,7 @@ CONFIG_OPTIMIZATION_LEVEL_RELEASE=
|
||||||
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
||||||
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
|
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
|
||||||
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
|
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
|
||||||
CONFIG_CXX_EXCEPTIONS=
|
CONFIG_CXX_EXCEPTIONS=y
|
||||||
CONFIG_STACK_CHECK_NONE=y
|
CONFIG_STACK_CHECK_NONE=y
|
||||||
CONFIG_STACK_CHECK_NORM=
|
CONFIG_STACK_CHECK_NORM=
|
||||||
CONFIG_STACK_CHECK_STRONG=
|
CONFIG_STACK_CHECK_STRONG=
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
#define CONFIG_LOG_BOOTLOADER_LEVEL_INFO 1
|
#define CONFIG_LOG_BOOTLOADER_LEVEL_INFO 1
|
||||||
#define CONFIG_LOG_BOOTLOADER_LEVEL 3
|
#define CONFIG_LOG_BOOTLOADER_LEVEL 3
|
||||||
#define CONFIG_BOOTLOADER_STORE_OFFSET 0x0
|
#define CONFIG_BOOTLOADER_STORE_OFFSET 0x0
|
||||||
|
#define CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT 1
|
||||||
#define CONFIG_ESPTOOLPY_PORT "/dev/ttyUSB0"
|
#define CONFIG_ESPTOOLPY_PORT "/dev/ttyUSB0"
|
||||||
#define CONFIG_ESPTOOLPY_BAUD_115200B 1
|
#define CONFIG_ESPTOOLPY_BAUD_115200B 1
|
||||||
#define CONFIG_ESPTOOLPY_BAUD_OTHER_VAL 115200
|
#define CONFIG_ESPTOOLPY_BAUD_OTHER_VAL 115200
|
||||||
#define CONFIG_ESPTOOLPY_BAUD 115200
|
#define CONFIG_ESPTOOLPY_BAUD 115200
|
||||||
#define CONFIG_ESPTOOLPY_COMPRESSED 1
|
#define CONFIG_ESPTOOLPY_FLASHMODE_DIO 1
|
||||||
#define CONFIG_ESPTOOLPY_FLASHMODE_QIO 1
|
|
||||||
#define CONFIG_ESPTOOLPY_FLASHMODE "dio"
|
#define CONFIG_ESPTOOLPY_FLASHMODE "dio"
|
||||||
#define CONFIG_SPI_FLASH_MODE 0x0
|
#define CONFIG_SPI_FLASH_MODE 0x2
|
||||||
#define CONFIG_ESPTOOLPY_FLASHFREQ_40M 1
|
#define CONFIG_ESPTOOLPY_FLASHFREQ_40M 1
|
||||||
#define CONFIG_ESPTOOLPY_FLASHFREQ "40m"
|
#define CONFIG_ESPTOOLPY_FLASHFREQ "40m"
|
||||||
#define CONFIG_SPI_FLASH_FREQ 0x0
|
#define CONFIG_SPI_FLASH_FREQ 0x0
|
||||||
|
@ -38,6 +38,7 @@
|
||||||
#define CONFIG_PARTITION_TABLE_FILENAME "partitions_singleapp.csv"
|
#define CONFIG_PARTITION_TABLE_FILENAME "partitions_singleapp.csv"
|
||||||
#define CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG 1
|
#define CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG 1
|
||||||
#define CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE 1
|
#define CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE 1
|
||||||
|
#define CONFIG_COMPILER_CXX_EXCEPTIONS 1
|
||||||
#define CONFIG_COMPILER_STACK_CHECK_MODE_NONE 1
|
#define CONFIG_COMPILER_STACK_CHECK_MODE_NONE 1
|
||||||
#define CONFIG_APP_UPDATE_CHECK_APP_SUM 1
|
#define CONFIG_APP_UPDATE_CHECK_APP_SUM 1
|
||||||
#define CONFIG_APP_COMPILE_TIME_DATE 1
|
#define CONFIG_APP_COMPILE_TIME_DATE 1
|
||||||
|
@ -219,7 +220,6 @@
|
||||||
#define CONFIG_MQTT_TRANSPORT_WEBSOCKET 1
|
#define CONFIG_MQTT_TRANSPORT_WEBSOCKET 1
|
||||||
#define CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE 1
|
#define CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE 1
|
||||||
#define CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF 1
|
#define CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF 1
|
||||||
#define CONFIG_NEWLIB_NANO_FORMAT 1
|
|
||||||
#define CONFIG_OPENSSL_ASSERT_DO_NOTHING 1
|
#define CONFIG_OPENSSL_ASSERT_DO_NOTHING 1
|
||||||
#define CONFIG_PTHREAD_TASK_PRIO_DEFAULT 5
|
#define CONFIG_PTHREAD_TASK_PRIO_DEFAULT 5
|
||||||
#define CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT 3072
|
#define CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT 3072
|
||||||
|
|
|
@ -8,7 +8,14 @@
|
||||||
#include <esp_wifi.h>
|
#include <esp_wifi.h>
|
||||||
|
|
||||||
struct appldata;
|
struct appldata;
|
||||||
|
/*
|
||||||
|
struct appldata{
|
||||||
|
uint8_t mac[6];
|
||||||
|
float temp;
|
||||||
|
float battaryVoltage;
|
||||||
|
unsigned long upTime;
|
||||||
|
}
|
||||||
|
*/
|
||||||
int app_main() {
|
int app_main() {
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +32,7 @@ int app_main() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Create variable for handler
|
// Create variable for handler
|
||||||
ds18b20_handler_t sensor;
|
ds18b20_handler_t sensor;
|
||||||
// Check for any initialization failures
|
// Check for any initialization failures
|
||||||
|
@ -57,11 +65,3 @@ int app_main() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
struct appldata{
|
|
||||||
uint8_t uuid;
|
|
||||||
signed float temp;
|
|
||||||
unsigned float battaryVoltage;
|
|
||||||
unsigned long upTime;
|
|
||||||
}
|
|
||||||
*/
|
|
Loading…
Reference in a new issue