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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user