Hello all.
First of all thank you very much for the thorough answers.
ShapeShifter:
You are quick to dismiss YunServer/YunClient, because you've heard it's slow. People reporting that things are slow is a relative term, and whether something is fast enough or too slow greatly depends on the needs of the application, and no two applications are truly alike. What bandwidth do you need? Have you tried it and found it to be too slow?
sonnyyu:
If your application is required run faster than 1/4 second, then forget about bridge class.
Actually I've seriously considered the Bridge class, even tested it out with a simple code echoing in the terminal the strings sent through a port of my choice. It works, but the time it takes is proportional to the string size. As my strings will be pretty long (at least 200 ascii characters), I'm afraid the Bridge class won't suffice. I need my DDS to be programmed in under 100ms. I would have loved to use the Bridge class. Its even the reason I bought the Yun in first place.
ShapeShifter:
/dev/ttyATH0 on the AR3391 side is directly connected to Serial1 on the '32U4 side, using shield connector pins 0 and 1. Serial on the '32U4 side is connected to the microUSB connector. They are two different serial channels and there should be no conflict.
The conflict comes in with the Bridge library. If you are talking directly to the serial port hardware as you propose, you will be commandeering the same serial port used by the Bridge library, so you will not be able to use that library or any of its features (file I/O, Console, bridge key/value data pairs, etc.)
That's great news. So I can send my strings to Serial1 from the Linux side with "socat" and debug on Serial. As far as the Bridge library goes, I can do without.
sonnyyu:
No need compiled
ibuyopenwrt.com - ibuyopenwrt Resources and Information.
Awesome! So i don't need a microSD to install GCC and compile socat ...etc.
I haven't tried using the console class yet. Does it have the same speed limitations as using the traditional YunServer/Client/Bridge class ? (ie time proportionnal to string size)
Regarding Shape's concerns about wrong packets being interpreted by the Arduino side, I'll cross that bridge when I get there. I don't have too many concerns though since the commands need to have very specific syntax to be interpreted such as "AD9852_1 MODE 2 FREF 300000000.0 F1 65456456456.2 F2 65987987987.2 PHASE1 100.000 PHASE 2 100.000" and possibly more stuff depending on the functionality I want out of my DDS. So i kinda doubt the Arduino side will misinterpret stuff from the Serial pile.
I'll keep you posted on the advancements of the project. Thanks again for the great answers, you've helped me more than you know.
Cheers from France.
Matthias