MCPcopy Create free account
hub / github.com/LowPowerLab/RFM69 / setNetwork

Method setNetwork

RFM69.cpp:234–237  ·  view source on GitHub ↗

set this node's network id

Source from the content-addressed store, hash-verified

232
233// set this node's network id
234void RFM69::setNetwork(uint8_t networkID) {
235 _networkID = networkID;
236 writeReg(REG_SYNCVALUE2, networkID);
237}
238
239uint8_t RFM69::getNetwork() {
240 return _networkID;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected