Improved multihop/mesh route discovery.
Packetbuffer is now saved before route discovery and resent when a route is found. This solves the following problems: - First packet sent to a certain node is corrupted. - Packet to be forwarded that triggers route discovery is lost.
This commit is contained in:
parent
7397e86f9c
commit
84105f4e47
3 changed files with 28 additions and 16 deletions
|
@ -104,6 +104,7 @@ void multihop_open(struct multihop_conn *c, uint16_t channel,
|
|||
const struct multihop_callbacks *u);
|
||||
void multihop_close(struct multihop_conn *c);
|
||||
int multihop_send(struct multihop_conn *c, const rimeaddr_t *to);
|
||||
void multihop_resend(const struct multihop_conn *const c, const rimeaddr_t *const nexthop);
|
||||
|
||||
#endif /* __MULTIHOP_H__ */
|
||||
/** @} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue