Testing with predefined buffer sizes for MQTT as well as mbedTLS to exercise fragmenting outgoing data on both layers. Example test compares received partition with the actual binary file.
12 lines
474 B
Text
12 lines
474 B
Text
CONFIG_BROKER_URI="mqtts://${EXAMPLE_MQTT_BROKER_SSL}"
|
|
CONFIG_BROKER_CERTIFICATE_OVERRIDE="${EXAMPLE_MQTT_BROKER_CERTIFICATE}"
|
|
CONFIG_MQTT_USE_CUSTOM_CONFIG=y
|
|
CONFIG_MQTT_TCP_DEFAULT_PORT=1883
|
|
CONFIG_MQTT_SSL_DEFAULT_PORT=8883
|
|
CONFIG_MQTT_WS_DEFAULT_PORT=80
|
|
CONFIG_MQTT_WSS_DEFAULT_PORT=443
|
|
CONFIG_MQTT_BUFFER_SIZE=16384
|
|
CONFIG_MQTT_TASK_STACK_SIZE=6144
|
|
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
|
|
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384
|
|
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
|