updated tests, changed file names, new mesh packet type

This commit is contained in:
2021-01-11 22:56:39 +01:00
parent d4182eddb2
commit c17756160f
12 changed files with 128 additions and 87 deletions

View File

@ -1,2 +1,2 @@
idf_component_register(SRCS "main.c"
idf_component_register(SRCS "Main.c"
INCLUDE_DIRS ".")

View File

@ -105,6 +105,12 @@ menu "Mesh OTA Configuration"
default 0
help
mesh network channel.
config MESH_ID
string "ID for mesh network"
default "00, 00, 00, 00, 00, 00"
help
Mesh network id like MAC addr.
config MESH_ROUTER_SSID
string "Router SSID"
@ -158,6 +164,13 @@ menu "Mesh OTA Configuration"
help
The number of devices over the network(max: 300).
config MESH_MESSAGE_SIZE
int "Mesh network messages size"
range 1 65536
default 1500
help
Length of messages deliveres by the mesh network.
config OTA_HTTPS_SERVER_COMMON_NAME
string "Common name OTA server"
default "exmaple.com"

View File

@ -11,13 +11,10 @@
#include "esp_ota_ops.h"
#include "esp_partition.h"
#include "mesh_ota.h"
#include "Mesh_OTA.h"
static const char *LOG_TAG = "esp_main";
void app_main(void)
{
esp_err_t err = ESP_OK;
@ -29,10 +26,6 @@ void app_main(void)
//start app
}