Show Posts
Pages: [1] 2 3 ... 8
1  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
2  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
3  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
4  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
5  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
6  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
7  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
8  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
9  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
10  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
11  Products / Arduino Yún / Re: Console.print(ln): when does this return? on: July 23, 2014, 05:13:51 am
My experience is, that if nothing is connected to that USB, the write buffer fills up and a next write call blocks forever (what else could it do?)

kind regards,

Jos
12  Products / Arduino Yún / Re: Qualcomm, Oracle, Imagination team up to optimize Java, OpenWRT. on: July 21, 2014, 11:58:52 pm
Souns good because the only alternative now is jamvm; although its a fine 1.5 JVM (which is officially long dead), it has to run with 'classpath', the GNU version of the core classes and they are only up to version 1.4 and has lots of bugs. The only plus side is that it runs 'BeanShell'; it makes the entire Yun much more accessible through Java. I can hardly wait until an 'official' Oracle Java implementation for the MIPS processor sees the light ;-) Thanks for the information.

kind regards,

Jos
13  Products / Arduino Yún / Re: unexpected indent in python script udp receiver on: July 17, 2014, 03:16:45 am
Python is like that: it is extremely picky on indentation of your code; line #24 clearly shows the extra indentation; perhaps it's a combination of tabs and spaces? You won't see it in your edItor but Python does ;-)

kind regards,

Jos
14  Products / Arduino Yún / Re: Arduino Yun + GSM Shield, HOW TO? on: June 29, 2014, 09:12:06 am
Your shield has the same SIM900 chip as I have; I can't power it from an Arduino (it takes up to 2.5A at 5V when it is transmitting or receiving); can't you power it externally? b.t.w. a SoftSerial interface should work fine for RX/TX.

kind regards,

Jos
15  Products / Arduino Yún / Re: Arduino Yun + GSM Shield, HOW TO? on: June 29, 2014, 07:02:23 am
I own a SIM900 chip and I simply hook it up to the usb host port on the Linux side (through usb/serial converter); I can write my AT commands to /dev/ttyUSB0 ...

kind regards,

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