Skip to content

Sending files over the GenericHub #2308

Answered by LeStarch
lukeclements asked this question in Q&A
Discussion options

You must be logged in to vote

Svc::FileDownlink has a buffer send port. This can be attached directly to the hub on one of its buffer input ports (don't forget to attach the return buffer port of the same index back to file downlink).

What happens on the host computer is up to the project:

  1. You could attach the buffer output ports to Svc::ComQueue and the downlink stack. That would push all file downlink buffers to the ground immediately.
  2. You could add in Svc::FileUplink and wire that to the hub. Svc::FileDownlink and Svc::FileUplink are designed to cross-wire, so you could "uplink" across the hub. This would write the files locally and then another instance of Svc::FileDownlink could send to the com stack.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lukeclements
Comment options

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