Skip to content

Commit

Permalink
move declaration out of deprecated API group
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 18, 2024
1 parent f162427 commit 5691179
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions RF24Mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,6 @@ class ESBMesh
/** @deprecated For backward compatibility with older code. Use the synonymous setAddress() instead. */
void setStaticAddress(uint8_t nodeID, uint16_t address);

/**
* Releases the specified address if leased to a mesh node's ID. This is specific to master nodes, so
* network administrators can manage assigned addresses without involving a transaction with nodes that
* might be appropriating them.
* @return True if successfully released, otherwise false.
*/
bool releaseAddress(uint16_t address);

#endif // !defined(MESH_NOMASTER)
/**@}*/

Expand Down Expand Up @@ -349,6 +341,18 @@ class ESBMesh
addrListStruct* addrList;
/** @brief The number of entries in the addrListStruct of assigned addresses. */
uint8_t addrListTop;

/**
* Releases the specified address if leased to a mesh node's ID.
*
* This is specific to master nodes, so
* network administrators can manage assigned addresses without involving a transaction with nodes that
* might be appropriating them.
*
* @param address The address to release from any mesh node.
* @return True if successfully released, otherwise false.
*/
bool releaseAddress(uint16_t address);
#endif
/**@}*/

Expand Down

0 comments on commit 5691179

Please sign in to comment.