MCPcopy Create free account
hub / github.com/Heltec-Aaron-Lee/WiFi_Kit_series / OpenThread

Method OpenThread

libraries/OpenThread/src/OThread.cpp:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202otNetworkKey OpenThread::mNetworkKey;
203
204OpenThread::OpenThread() {
205 // static initialization (node data and stack starting information)
206 otStarted = false;
207 mCurrentDataset.clear(); // Initialize the current dataset
208 memset(&mNetworkKey, 0, sizeof(mNetworkKey)); // Initialize the network key
209 mInstance = nullptr;
210}
211
212OpenThread::~OpenThread() {
213 end();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected