feat support 4G function in webserver for xishutong-arm32
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user