Update hueplusplus dependency to 1.1.0
This commit is contained in:
parent
4aac04280c
commit
5bcc105cd9
139 changed files with 3685 additions and 6343 deletions
0
dependencies/hueplusplus-1.0.0/.gitignore → dependencies/hueplusplus-1.1.0/.gitignore
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/.gitignore → dependencies/hueplusplus-1.1.0/.gitignore
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/.travis.yml → dependencies/hueplusplus-1.1.0/.travis.yml
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/.travis.yml → dependencies/hueplusplus-1.1.0/.travis.yml
vendored
Normal file → Executable file
|
|
@ -9,7 +9,7 @@ endif()
|
|||
# Add cmake dir to module path, so Find*.cmake can be found
|
||||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
||||
project(hueplusplus VERSION 1.0.0 LANGUAGES CXX)
|
||||
project(hueplusplus VERSION 1.1.0 LANGUAGES CXX)
|
||||
|
||||
# check whether hueplusplus is compiled directly or included as a subdirectory
|
||||
if(NOT DEFINED hueplusplus_master_project)
|
||||
0
dependencies/hueplusplus-1.0.0/Doxyfile → dependencies/hueplusplus-1.1.0/Doxyfile
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/Doxyfile → dependencies/hueplusplus-1.1.0/Doxyfile
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/Jenkinsfile → dependencies/hueplusplus-1.1.0/Jenkinsfile
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/Jenkinsfile → dependencies/hueplusplus-1.1.0/Jenkinsfile
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/LICENSE → dependencies/hueplusplus-1.1.0/LICENSE
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/LICENSE → dependencies/hueplusplus-1.1.0/LICENSE
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/README.md → dependencies/hueplusplus-1.1.0/README.md
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/README.md → dependencies/hueplusplus-1.1.0/README.md
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/codecov.yml → dependencies/hueplusplus-1.1.0/codecov.yml
vendored
Normal file → Executable file
0
dependencies/hueplusplus-1.0.0/codecov.yml → dependencies/hueplusplus-1.1.0/codecov.yml
vendored
Normal file → Executable file
File diff suppressed because it is too large
Load diff
|
|
@ -56,14 +56,20 @@ std::string BaseHttpHandler::sendHTTPRequest(const std::string& method, const st
|
|||
request.append("HTTP/1.0"); // HTTP-Version
|
||||
request.append("\r\n"); // Ending
|
||||
// Entities
|
||||
request.append("Content-Type:"); // entity-header
|
||||
request.append(" "); // Separation
|
||||
request.append(contentType); // media-type
|
||||
request.append("\r\n"); // Entity ending
|
||||
request.append("Content-Length:"); // entity-header
|
||||
request.append(" "); // Separation
|
||||
request.append(std::to_string(body.size())); // length
|
||||
request.append("\r\n\r\n"); // Entity ending & Request-Line ending
|
||||
if (!contentType.empty())
|
||||
{
|
||||
request.append("Content-Type:"); // entity-header
|
||||
request.append(" "); // Separation
|
||||
request.append(contentType); // media-type
|
||||
request.append("\r\n"); // Entity ending
|
||||
}
|
||||
if (!body.empty())
|
||||
{
|
||||
request.append("Content-Length:"); // entity-header
|
||||
request.append(" "); // Separation
|
||||
request.append(std::to_string(body.size())); // length
|
||||
request.append("\r\n\r\n"); // Entity ending & Request-Line ending
|
||||
}
|
||||
request.append(body); // message-body
|
||||
request.append("\r\n\r\n"); // Ending
|
||||
|
||||
|
|
@ -21,6 +21,7 @@
|
|||
**/
|
||||
|
||||
#include "hueplusplus/EntertainmentMode.h"
|
||||
#include "mbedtls/certs.h"
|
||||
#include "mbedtls/ctr_drbg.h"
|
||||
#include "mbedtls/debug.h"
|
||||
#include "mbedtls/entropy.h"
|
||||
|
|
@ -121,12 +122,6 @@ EntertainmentMode::EntertainmentMode(Bridge& b, Group& g)
|
|||
| Seed the Deterministic Random Bit Generator (RNG) |
|
||||
\*-------------------------------------------------*/
|
||||
int ret = mbedtls_ctr_drbg_seed(&tls_context->ctr_drbg, mbedtls_entropy_func, &tls_context->entropy, NULL, 0);
|
||||
|
||||
/*-------------------------------------------------*\
|
||||
| Parse certificate |
|
||||
\*-------------------------------------------------*/
|
||||
//ret = mbedtls_x509_crt_parse(
|
||||
// &tls_context->cacert, (const unsigned char*)mbedtls_test_cas_pem, mbedtls_test_cas_pem_len);
|
||||
}
|
||||
|
||||
EntertainmentMode::~EntertainmentMode()
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue