| | Re: Still JAVA and LNP....
|
|
(...) There is no way to passively listen to the world. This is good for batteries but bad in all other ways. So, your listening code should send a keep-alive on a regular basis to keep the tower from dying. No way around it :| Luis ---...--- "It's (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: Still JAVA and LNP....
|
|
Umm in response to my own message, would someone be so kind as to explain the following <g> : // return (short)(a + (b << 8)); return (short)(a % 256); If I use the bottom line, discounting variable b, then my checksum is correct...otherwise it (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
|
|
| | Still JAVA and LNP....
|
|
hey all :) Sorry to bother again, but after limited uccess with getting JAVA to cope with LNP, I've run into some (hopefully) simple problems, I'm having major problems with the checksum routine, this routine give me huge integer nnumbers rather (...) (24 years ago, 3-Nov-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: ttyS1 corrupted after using legos
|
|
(...) Frank, I'm also using Linux (Red Hat), and had a similar problem. After using the IR tower, my modem wouldn't work on the same serial port. I solved the problem by not sharing the serial port 8?) which also allows me to connect while using the (...) (24 years ago, 2-Nov-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: ttyS1 corrupted after using legos
|
|
(...) Is the only program you are using to download things firmdl3? (...) Try also stty -a < /dev/ttyS0 and/or stty -a < /dev/ttyS1. (...) As far as I know, firmdl3 does not download .lx files. I think there is a separate program for that. dll (...) (24 years ago, 2-Nov-00, to lugnet.robotics.rcx.legos)
|