mirror of
https://github.com/anklimov/lighthub
synced 2025-12-15 08:09:51 +03:00
cleanup
This commit is contained in:
1
lighthub/monitor.bat
Normal file
1
lighthub/monitor.bat
Normal file
@@ -0,0 +1 @@
|
|||||||
|
pio device monitor -b 115200
|
||||||
@@ -377,7 +377,7 @@ void printIPAddress(IPAddress ipAddress) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
char* setTopic(char* buf, int8_t buflen, topicType tt, char* suffix)
|
char* setTopic(char* buf, int8_t buflen, topicType tt, const char* suffix)
|
||||||
{
|
{
|
||||||
aJsonObject *_root = NULL;
|
aJsonObject *_root = NULL;
|
||||||
aJsonObject *_l2 = NULL;
|
aJsonObject *_l2 = NULL;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ void ReadUniqueID( uint32_t * pdwUniqueID );
|
|||||||
int inet_aton(const char* aIPAddrString, IPAddress& aResult);
|
int inet_aton(const char* aIPAddrString, IPAddress& aResult);
|
||||||
char *inet_ntoa_r(IPAddress addr, char *buf, int buflen);
|
char *inet_ntoa_r(IPAddress addr, char *buf, int buflen);
|
||||||
void printIPAddress(IPAddress ipAddress);
|
void printIPAddress(IPAddress ipAddress);
|
||||||
char* setTopic(char* buf, int8_t buflen, topicType tt, char* suffix = NULL);
|
char* setTopic(char* buf, int8_t buflen, topicType tt, const char* suffix = NULL);
|
||||||
void printUlongValueToStr(char *valstr, unsigned long value);
|
void printUlongValueToStr(char *valstr, unsigned long value);
|
||||||
void scan_i2c_bus();
|
void scan_i2c_bus();
|
||||||
void softRebootFunc();
|
void softRebootFunc();
|
||||||
|
|||||||
Reference in New Issue
Block a user