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

Function init

samples/SmtpClient/app/application.cpp:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77} // namespace
78
79void init()
80{
81 Serial.begin(SERIAL_BAUD_RATE);
82 Serial.systemDebugOutput(true);
83 Serial.println(_F("Sming: SmtpClient example!"));
84
85 spiffs_mount();
86
87 // Setup the WIFI connection
88 WifiStation.enable(true);
89 WifiStation.config(WIFI_SSID, WIFI_PWD); // Put your SSID and password here
90
91 WifiEvents.onStationGotIP(onConnected);
92}

Callers

nothing calls this directly

Calls 7

spiffs_mountFunction · 0.85
systemDebugOutputMethod · 0.80
printlnMethod · 0.80
onStationGotIPMethod · 0.80
beginMethod · 0.45
enableMethod · 0.45
configMethod · 0.45

Tested by

no test coverage detected