Skip to content

API Transport.has_path & Transport.request_path #355

Discussion options

You must be logged in to vote

Hello Thomas,

I have been programming my own application for a while. I try with my best knowledge to answer your questions. If I have misunderstood, someone can correct this.

1
There are no bidirectional paths in Reticulum. Both apps must always send an announcement of their destination.
App A sends an announce.
App B can connect to app a.
(App A cannot connect to app b)
App B sends an announce.
App A can connect to App B.

2
" RNS.Transport.request_path" should actually request the path to app B.
You need to add a queue to wait some time before checking the path with "RNS.Transport.has_path". If this is done directly after the request there is of course no path yet.

Check the interface m…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@SebastianObi
Comment options

@SebastianObi
Comment options

@ThomasFreedman
Comment options

@ThomasFreedman
Comment options

@SebastianObi
Comment options

Answer selected by ThomasFreedman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants