Skip to content

Commit

Permalink
Slight modification for RF24Mesh changes
Browse files Browse the repository at this point in the history
Remove node address from NETWORK_ADDR_RESPONSE requests, as useless
information. Use default mesh address 04444.
  • Loading branch information
TMRh20 committed Nov 6, 2015
1 parent bb41408 commit 9c1803a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ uint8_t RF24Network::update(void)
continue;
}
if(header->type == NETWORK_ADDR_RESPONSE ){
uint16_t requester = frame_buffer[8];
requester |= frame_buffer[9] << 8;
uint16_t requester = 04444;
if(requester != node_address){
header->to_node = requester;
write(header->to_node,USER_TX_TO_PHYSICAL_ADDRESS);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=RF24Network
version=1.0
version=1.0.1
author=TMRh20
maintainer=TMRh20
sentence=A library for NRF24L01(+) devices network.
Expand Down

0 comments on commit 9c1803a

Please sign in to comment.