updated tests, changed file names, new mesh packet type
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
idf_component_register(SRCS "Main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user