mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 15:39:00 +08:00
Switch to hivemq
This commit is contained in:
parent
14ccd78782
commit
cf62702f08
@ -265,7 +265,8 @@ static void test_mqtt(void) {
|
|||||||
struct mg_str topic = mg_str("x/f12"), data = mg_str("hi");
|
struct mg_str topic = mg_str("x/f12"), data = mg_str("hi");
|
||||||
struct mg_connection *c;
|
struct mg_connection *c;
|
||||||
struct mg_mqtt_opts opts;
|
struct mg_mqtt_opts opts;
|
||||||
const char *url = "mqtt://mqtt.eclipse.org:1883";
|
// const char *url = "mqtt://mqtt.eclipse.org:1883";
|
||||||
|
const char *url = "mqtt://broker.hivemq.com:1883";
|
||||||
int i;
|
int i;
|
||||||
mg_mgr_init(&mgr);
|
mg_mgr_init(&mgr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user