Adapt WSS to new boards and use MQTT domain for eSIM connectivity

Preserve main GNSS and volume behavior while porting verified TLS, receive fixes and full-handshake optimizations. Add MQTT connection diagnostics and route MQTT through banban.api.talkingq.com:1883.

Include migration documentation and regression tools. Firmware builds and package checks passed; user confirmed new-board connectivity after switching the MQTT host to the domain.
This commit is contained in:
chenjintao
2026-09-16 17:27:21 +08:00
parent 2746cc3d4e
commit 3deb51d838
45 changed files with 3724 additions and 4815 deletions
+4 -2
View File
@@ -959,14 +959,16 @@ int mbedtls_x509_key_size_helper(char *buf, size_t buf_size, const char *name)
* Set the time structure to the current time.
* Return 0 on success, non-zero on failure.
*/
#ifdef QUECTEL_MBEDTLS_SUPPORT
#if defined(QUECTEL_MBEDTLS_SUPPORT) && !defined(TALKINGQ_TLS_USE_RTC_TIME)
#include "utlTime.h"
#include "saremo_RTC.h"
extern void GetCurrentCompTime(TIME *con_time);
#endif/*QUECTEL_MBEDTLS_SUPPORT*/
static int x509_get_current_time(mbedtls_x509_time *now)
{
#ifdef QUECTEL_MBEDTLS_SUPPORT
/* OpenCPU's GetCurrentCompTime is an empty shim. The shared TLS profile uses
* mbedtls_time (SDK RTC) and UTC conversion below instead. */
#if defined(QUECTEL_MBEDTLS_SUPPORT) && !defined(TALKINGQ_TLS_USE_RTC_TIME)
TIME end_time = {0};
GetCurrentCompTime(&end_time);
now->year = end_time.year;