управление ошибками

This commit is contained in:
Dmitry Borisenko
2022-02-09 16:44:44 +01:00
parent 01428f4531
commit c728d34f03
8 changed files with 62 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
//Это версия прошивки
#define FIRMWARE_VERSION 400
#define FIRMWARE_VERSION 401
//Размер буфера json
#define JSON_BUFFER_SIZE 1024

View File

@@ -2,6 +2,8 @@
#include "Global.h"
void writeUint8tToString(uint8_t* payload, size_t length, size_t headerLenth, String& payloadStr);
void hex2string(byte array[], unsigned int len, char buffer[]);
int string2hex(const char* str, unsigned char* bytes);