added support for secure TLS connections (#699)
* added support for secure TLS connections on ESP32 and ESP8266 close #101 * added TLS test builds * added documentation for TLS fixed some some issues in the documentation * added documentation for error code=54
This commit is contained in:
1 parent
60d173ff51
commit
b5527d2e7b
14 files changed
+180
-40
No files matched your search
+28
-3
@@ -20,7 +20,7 @@ extra_configs =
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;Uncomment the env line corresponding to your board and modules required, ;
|
||||
;you can also adapt the modules by removing the corresponding lines in the env detail ;
|
||||
; if you go to the build flag section of your env you will see that some user_config.h ;
|
||||
; if you go to the build flag section of your env you will see that some User_config.h ;
|
||||
; parameters can be overwritten here, for example the gateway name. ;
|
||||
; If you want to avoid the lost of your environments at each update you can put them ;
|
||||
; into a separate file called prod_env.ini, it will be automatically read by pio ;
|
||||
@@ -57,7 +57,9 @@ extra_configs =
|
||||
;default_envs = uno-rf
|
||||
;default_envs = uno-fastled
|
||||
;default_envs = atmega-all
|
||||
;default_envs = test-manual-wifi
|
||||
;default_envs = manual-wifi-test
|
||||
;default_envs = esp32dev-tls-test
|
||||
;default_envs = nodemcuv2-tls-test
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; ENVIRONMENTS PARAMETERS ;
|
||||
@@ -515,7 +517,7 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_RF-CC1101"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:test-manual-wifi]
|
||||
[env:manual-wifi-test]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
@@ -529,6 +531,29 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_TEST_MANUAL_WIFI"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:esp32dev-tls-test]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DSECURE_CONNECTION'
|
||||
'-DGateway_Name="OpenMQTTGateway_TEST_TLS"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
|
||||
[env:nodemcuv2-tls-test]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DSECURE_CONNECTION'
|
||||
'-DGateway_Name="OpenMQTTGateway_TEST_TLS"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:rf-wifi-gateway]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
|
||||
Reference in new issue
Block a user