mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-01 07:23:49 +08:00
Change signature of mqtt_client_connect() to take an IP addr instead of a string
This commit is contained in:
@@ -204,7 +204,7 @@ struct mqtt_client_t
|
||||
|
||||
|
||||
/** Connect to server */
|
||||
err_t mqtt_client_connect(mqtt_client_t *client, const char *host, mqtt_connection_cb_t cb, void *arg,
|
||||
err_t mqtt_client_connect(mqtt_client_t *client, const ip_addr_t *ipaddr, mqtt_connection_cb_t cb, void *arg,
|
||||
const struct mqtt_connect_client_info_t *client_info);
|
||||
|
||||
/** Disconnect from server */
|
||||
|
||||
Reference in New Issue
Block a user