feat support 4G function in webserver for xishutong-arm32

This commit is contained in:
Liu_Weichao
2024-01-17 13:41:20 +08:00
parent 6c96e1273c
commit 9199d2655f
3 changed files with 94 additions and 13 deletions

View File

@@ -382,7 +382,7 @@ out:
return -1;
}
static void extractCarrierInfo(const char *response, struct NetworkInfo *networkInfo)
static void extractCarrierInfo(char *response, struct NetworkInfo *networkInfo)
{
const char *delimiter = "\"";
const char *token;

View File

@@ -166,7 +166,7 @@ struct IpProtocolDone
int (*mqttconnect)(struct Adapter *adapter, const char *ip, const char *port, const char *client_id, const char *username, const char *password);
int (*mqttdisconnect)(struct Adapter *adapter);
int (*mqttsend)(struct Adapter *adapter, const char *topic, const void *buf, size_t len);
int (*mqttrecv)(struct Adapter *adapter, const char *topic, const void *buf, size_t len);
int (*mqttrecv)(struct Adapter *adapter, const char *topic, void *buf, size_t len);
};
struct PrivProtocolDone