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

Method setExtendedPanId

libraries/OpenThread/src/OThread.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void DataSet::setExtendedPanId(const uint8_t *extPanId) {
147 if (!extPanId) {
148 log_w("Extended PAN ID is null");
149 return;
150 }
151 memcpy(mDataset.mExtendedPanId.m8, extPanId, OT_EXT_PAN_ID_SIZE);
152 mDataset.mComponents.mIsExtendedPanIdPresent = true;
153}
154
155void DataSet::setNetworkKey(const uint8_t *key) {
156 if (!key) {

Callers 1

OThread.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected