Is there a plan for wireless transfer of MODEL?

More
15 May 2013 22:17 #10042 by kenkenlau
as title

Is the wireless transfer feature (copy a model from my TX to my friend's TX) coming?

Currently is it a must to have a PC to transfer model?

Thanks

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
16 May 2013 05:10 #10047 by rbe2012
Before we can realize it wireless: would it be an option to transfer models by wire through the trainer connection? It will be a one-way communication but probably better than nothing...

Please Log in or Create an account to join the conversation.

More
16 May 2013 05:30 #10048 by kenkenlau
Replied by kenkenlau on topic Is there a plan for wireless transfer of MODEL?
It would be great if model exchange feature is available without a PC. :woohoo:

Please Log in or Create an account to join the conversation.

More
16 May 2013 05:45 - 16 May 2013 05:45 #10049 by kenkenlau
Replied by kenkenlau on topic Is there a plan for wireless transfer of MODEL?
A suggestion:

Would it be easy to add this in USB page?
- press ENT to enable usb function,
- press and hold ENT to enable model receive feature

file received will overwrite current model data, of course, with confirmation.

when either function is enabled, screen and TX is locked.

I think this may minimize the GUI effort.
Last edit: 16 May 2013 05:45 by kenkenlau.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
16 May 2013 06:44 #10050 by rbe2012
I don't think the gui will be a challenge.
More will be the development of a transfer protocol with some kind of securing the transfer (crc32-checksums could be used, as already implemented for the tx config).
An additional problem: because the used filesystem driver can not create new files there will be no other way than to overwrite existing model configs. Maybe we could declare some config files for this purpose (e.g. give them a special model name like "for_transfer" and allow only those model files to be overwritten (will have a new name thereafter)).
For creating more model files the pc must still be used.

Please Log in or Create an account to join the conversation.

More
16 May 2013 13:23 #10055 by PhracturedBlue
Replied by PhracturedBlue on topic Is there a plan for wireless transfer of MODEL?
A bigger problem is the RAM usage. There is no way we have enough RAM to do this on a Devo7e. Maybe we just don't support it there. Or maybe we write to a scratch file on the 7e and then load from there.

Please Log in or Create an account to join the conversation.

More
17 May 2013 00:14 #10059 by kenkenlau
Replied by kenkenlau on topic Is there a plan for wireless transfer of MODEL?
is it the STM32 working like the microcontroller?
-- if there is a byte received, write it to the flash, inc the pointer, wait for the next byte.

Or you need to wait for the whole data stream and have some CRC checking?

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
17 May 2013 05:44 #10066 by rbe2012

kenkenlau wrote: is it the STM32 working like the microcontroller?

The STM32 in fact IS the micro controller.

-- if there is a byte received, write it to the flash, inc the pointer, wait for the next byte.

Or you need to wait for the whole data stream and have some CRC checking?

This depends on the implementation. The crc check can not made before the complete data the crc check sum belongs to is transferred.
I am not sure if the serial transfer can work asynchronously but I highly expect this. Until now I have not implemented such timing dependent or interrupt controlled things for deviation so I do not really know what is necessary.
I could imagine a procedure for sending / receiving when the tx functions are of as you mentioned above.

Question: is the Devo's serial port bidirectional (and for PPM only a mono cable is allowed)? This would make the transfer easier. The hardware connections written in the article's section imply this.
Maybe a silly question and answered long ago but I did not care about this topic until now... and someone mentioned that he has taken the signals from the pcb because of something weird with the jack (I think in the bluetooth thread).

Please Log in or Create an account to join the conversation.

More
17 May 2013 12:53 #10075 by kenkenlau
Replied by kenkenlau on topic Is there a plan for wireless transfer of MODEL?

rbe2012 wrote: Maybe a silly question and answered long ago but I did not care about this topic until now... and someone mentioned that he has taken the signals from the pcb because of something weird with the jack (I think in the bluetooth thread).


That is me indeed :silly:

The port is bidirectional. But I dont know how the RX-IRQ works in STM32

Please Log in or Create an account to join the conversation.

Time to create page: 0.039 seconds
Powered by Kunena Forum