MCPcopy Create free account
hub / github.com/SmingHub/Sming / gotIP

Function gotIP

samples/Basic_AWS/app/application.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void gotIP(IpAddress ip, IpAddress netmask, IpAddress gateway)
70{
71 Serial << _F("Connected: ") << ip << endl;
72 startMqttClient();
73 publishMessage(); // run once publishMessage
74
75 mqtt.subscribe(F("$aws/things/Basic_AWS/shadow/get"));
76}
77
78} // namespace
79

Callers

nothing calls this directly

Calls 4

subscribeMethod · 0.80
startMqttClientFunction · 0.70
publishMessageFunction · 0.70
FFunction · 0.50

Tested by

no test coverage detected