tag:blogger.com,1999:blog-2556792309489302147.post348506513758241453..comments2024-01-06T03:07:10.690-06:00Comments on TMRh20s Project Blog: Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2556792309489302147.post-77316218193168587782021-07-18T09:56:36.127-06:002021-07-18T09:56:36.127-06:00Wie kann man verhindern das eine node über eine an...Wie kann man verhindern das eine node über eine andere geleitet wird?<br />Wenn ich die einzelnen Nodes schlafen lege (strom sparen) kann sie natürlich keine andere weiter leiten.Viele Grüsse Peter .<br />Übersetzt mit Google:<br />How con one prevent a node being directed over another?<br />If i sleep the individual nodes lake of course ,you can not forward any another.<br />Many greetings PeterAnonymoushttps://www.blogger.com/profile/07531494493396879862noreply@blogger.comtag:blogger.com,1999:blog-2556792309489302147.post-59913344628903026682019-08-15T18:59:58.264-06:002019-08-15T18:59:58.264-06:00Many thanks for your good work! Although your libr...Many thanks for your good work! Although your library is already several years old, I found it now and experimented with it with good success.<br /><br />Only one problem I have: I must access the OBSERVE_TX register for some test purposes.<br /><br />In forums, some people are gussing around how the function print_observe_tx should be used. But it looks like the needed value cannot reached, because the read_register function is private.<br /><br />So I suggest the addition of a new function:<br /><br />In RF24.h - before 'private:' :<br />----------------<br /> /**<br /> * Get the count of lost packets since the last channel selection<br /> * and the count of retries at the last transmission<br /> *<br /> * Both counts are packed into one byte:<br /> * @code<br /> * uint8_t b = getObserve_tx();<br /> * uint8_t lost = b >> 4;<br /> * uint8_t retr = b & 0xF;<br /> * @endcode<br /> *<br /> * @return (count of lost packets) << 4 | (count of retries)<br /> */<br /> uint8_t getObserve_tx(void);<br />----------------<br /><br />and in RF24.cpp:<br />----------------<br />uint8_t RF24::getObserve_tx(void)<br />{<br /> return read_register(OBSERVE_TX);<br />}<br />----------------BernhardFhttps://www.blogger.com/profile/08846965354884477128noreply@blogger.com