Show Posts
Pages: [1] 2 3 ... 8
1  Products / Arduino Yún / Re: Arduino YUN custom openwrt C program communication with arduino on: September 07, 2014, 11:33:05 am
Did you read my reply in you other thread? http://forum.arduino.cc/index.php?topic=265486.0

kind regards,

Jos
2  Products / Arduino Yún / Re: How can C program running on YUN linux, can comminucate with Arduino? on: September 07, 2014, 08:17:21 am
Open a FILE* for /dev/ttyATH0; the 'other side' (the Arduino side) should read and write from/to the Serial stream. The Linux side should do the same with its FILE* pointer.

kind regards,

Jos
3  Products / Arduino Yún / Re: jamvm on: September 05, 2014, 11:26:01 pm
@Sonnyyu: classpath 0.99 is only Java 1.5 compliant (sort of) while classpath 0.98 is mostly Java 1.4 compliant; both versions of Java are long dead while OpenJDK supports even the latest Java 1.8 version. Jamvm 2.0 can run it, that's why I am so eager to have it available for the Yun.

kind regards,

Jos
4  Products / Arduino Yún / Re: jamvm on: September 05, 2014, 11:41:11 am
Ah, ok, thanks for the information; I'll keep an eye on that site and wait until my new laptop arrives (the old one is a goner). I would really like that new version of jamvm available for the Yun because that 'classpath' thing is full of bugs and quite outdated  ...

kind regards,

Jos
5  Products / Arduino Yún / Re: jamvm on: September 05, 2014, 06:01:03 am
I have a question: last week I posted an issue (which is all I can do now because the hardware of my Linux laptop is completely broken) and now what? Do I have to wait until somebody picks up my issue?

kind regards,

Jos
6  Products / Arduino Yún / Re: jamvm on: August 29, 2014, 03:35:09 am
Thanks for the link; I opened an issue, because unfortunately I can't build this new jamvm version myself (my Linux (Mint) box is severely broken :-(

kind regards,

Jos
7  Products / Arduino Yún / jamvm on: August 29, 2014, 02:13:41 am
Greetings,

I'm a happy user of jamvm (the small JVM port, version 1.6); I understood that it was a dead project (no further development) until I stumbled upon their web site: http://http://jamvm.sourceforge.net/ and read that there is a version 2.0 available (also for the MIPS processor family); the advantages of this version are a) OpenJDK support) b) Java version 1.6, 1.7 and even the new 1.8 support c) a lot of bug fixes. Especially option a) is of interest because previously jamvm only supported GNU's 'classpath' of the core Java classes and that set of classes has lots of bugs and is only up to date until Java 1.5. My question is: will this updated version of jamvm be available for the Yun? And, if so, when? I'm waiting as fast as I can ;-) The availability of this new version would certainly be an improvement for the Yun ...

kind regards,

Jos
8  Products / Arduino Yún / Re: Getting Yun to Yun API requests to work using hostname instead of IP Address on: August 12, 2014, 11:32:16 am
I use the 'vi' editor that comes shipped with the distribution; other people use 'nano', but I don't know it. Maybe a google 'starting vi' (or similar) can help you out here.

kind regards,

Jos
9  Products / Arduino Yún / Re: Getting Yun to Yun API requests to work using hostname instead of IP Address on: August 11, 2014, 11:01:55 am
Your yun1 doesn't know what a 'yun2' is and vice versa. You can't stick those names in a dns server, so you have to add those names in the /etc/hosts file (it only contains localhost by default).

kind regards,

Jos
10  Products / Arduino Yún / Re: How to invoke cd command from Process.runShellCommand() : Please advise - Thanks on: July 27, 2014, 09:58:17 am
If 'cd' is a built-in process, it does change the current working directory, but as soon as the sub-process finiishes (after 'cd' has completed in your example) you are back where the parent process was. Write  small shell script instead and do everything you have to do after cd-ing to the wanted directory. Run the script.

kind regards,

Jos
11  Products / Arduino Yún / Re: Python script to monitor Yun wifi connection on: July 26, 2014, 04:59:24 am
I will try with an extra access point to see what that does.

Maybe a bit cheap solution: I mounted a pair of larger antennas on my wireless router (just +- 1o euros); they give me +- 8dB more signal strength.

kind regards,

Jos
12  Products / Arduino Yún / Re: [Please help] [Not working]Connecting the Arduino Yun to WIFI on: July 24, 2014, 12:05:37 am
Have you tried to connect to your Yun through its mentioned IP address? (192.168.1.122)

kind regards,

Jos
13  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 12:59:50 pm
Normally, ahem, those suspicous opertations are easy to pinpoint, i.e.

unsigned long start= micros(); // or even millis()
// suspcious operation here ...
unsigned long end= micros();

if end-start is 'too long to be true' narrow down the suspicious operation until you have found the nasty rascal.

kind regards,

Jos
14  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 11:56:31 am
I'm not using the bridge stuff (I dumped it) but after reading the (python) source code, all it does is read and write from/to /dev/ttyATH0 and send/receive stuff to/from a client socket. The python 'middle man' set up a server socket on port 6571 for the purpose. If your WiFi connection is bad, it can take quite some time for a read/write to complete ... sorry, I can't be of more help here.

kind regards,

Jos
15  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 08:23:34 am
I must've misundersttood: if you print to the Serial stream, you're effectively printing to the USB bus; if nothing is connected at'the other end', such as a serial monitorr from  your ide, then the buffer fills up etc.

kind regards,

Jos
Pages: [1] 2 3 ... 8