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
@@ -30,6 +30,7 @@
#include "hal_api.h"
#include "build_macro.h"
#include "ql_rtc.h"
#include "talkingq_wss.h"
#include "ql_cell_locator.h"
@@ -979,17 +980,17 @@ int save_talkingq_url(uint8_t *buff, int len)
#endif
int hal_os_get_talkingq_url(char *pdevice_id)
{
char temp_device_id[64];
memset(temp_device_id, 0, sizeof(temp_device_id));
hal_kv_get("talkingq_url", temp_device_id, sizeof(temp_device_id));
char temp_device_id[TALKINGQ_URL_CAPACITY] = {0};
int saved = hal_kv_get("talkingq_url", temp_device_id, sizeof(temp_device_id));
temp_device_id[sizeof(temp_device_id) - 1] = 0;
//read_talkingq_url(temp_device_id,sizeof(temp_device_id));
if(strlen(temp_device_id)>0){
if(saved > 0 && strlen(temp_device_id)>0 && !talkingq_is_legacy_ws_url(temp_device_id)){
strcpy(pdevice_id, temp_device_id);
}else{
//strcpy(pdevice_id,"ws://api.talkingq.com:8080");
//strcpy(pdevice_id,"ws://175.24.73.253:80");
strcpy(pdevice_id,"ws://101.35.224.118:8080");
strcpy(pdevice_id, TALKINGQ_WSS_URL);
return -1;
}
return 0;