Define SDK magic string value as a shared constant in NetworkProtocol.cpp, use InitNetPacketHeader function to set up packets
This commit is contained in:
parent
9215ae0514
commit
cf4fd16b09
5 changed files with 53 additions and 187 deletions
|
|
@ -196,6 +196,7 @@ SOURCES +=
|
|||
cli.cpp \
|
||||
LogManager.cpp \
|
||||
NetworkClient.cpp \
|
||||
NetworkProtocol.cpp \
|
||||
NetworkServer.cpp \
|
||||
PluginManager.cpp \
|
||||
ProfileManager.cpp \
|
||||
|
|
@ -681,7 +682,7 @@ macx {
|
|||
qt/macutils.h \
|
||||
|
||||
HEADERS -= $$CONTROLLER_H_WIN
|
||||
|
||||
|
||||
SOURCES += \
|
||||
dependencies/hueplusplus-1.0.0/src/LinHttpHandler.cpp \
|
||||
serial_port/find_usb_serial_port_linux.cpp \
|
||||
|
|
@ -689,7 +690,7 @@ macx {
|
|||
qt/macutils.mm \
|
||||
|
||||
SOURCES -= $$CONTROLLER_CPP_WIN
|
||||
|
||||
|
||||
# Use mbedtls v2 instead of latest
|
||||
MBEDTLS_PREFIX = $$system(brew --prefix mbedtls@2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue