Skip to content

Commit

Permalink
expose mesh_address in python wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 20, 2024
1 parent 547a6cb commit d0d8251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyRF24Mesh/pyRF24Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ BOOST_PYTHON_MODULE(RF24Mesh)
.def("saveDHCP", &RF24Mesh::saveDHCP)
//void loadDHCP();
.def("loadDHCP", &RF24Mesh::loadDHCP)
// mesh_address
.def_readwrite("mesh_address", &RF24Mesh::mesh_address)
//void setStaticAddress(uint8_t nodeID, uint16_t address);
.def("setStaticAddress", &RF24Mesh::setStaticAddress, (bp::arg("nodeID"), bp::arg("address")));
}
Expand Down

0 comments on commit d0d8251

Please sign in to comment.