| | Re: problem with lnpd...help!?
|
|
(...) this must be char test4 = 'a'; I think. Otherwise, you won't sent an 'a' anyway. But I can't imaginge why you want to do this. Michael Ash has shown a way to fiddle the strings into a contigous data area ready to be sent. But why do you want (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem with lnpd...help!?
|
|
(...) That's wrong. You should write "char test4 = 'a';", otherwise you are implicitly casting the character 'a' to a pointer to store it in test4 (the compiler should warn you about this; use -Wall to catch these errors). (...) Then this line (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem with lnpd...help!?
|
|
This is really more of a general C question than an lnpd question. Anyway, the problem is with serialization; you want to take a structure in memory, and turn it into a stream of bytes, either to store in a file, send over a network, or whatever. (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | problem with lnpd...help!?
|
|
hi all. im using legOS 0.2.4 and using lnpd to communicate with my linux box. now then, here is my problem. lets imagine i have the following: foo{ int test; char *test2; void *test3; }; char *test4 = 'a'; char *test5 = 'b'; struct foo bar* = NULL; (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
quite possibly. I havn't hooked up a scope, but it seems to be as close to full power as possible....interesting "Max Bowsher" <maxb@ukf.net> wrote in message news:006401c1c9ec$bd...ibm.com... (...) power (...) otherwise (...) (23 years ago, 13-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
I think I remember hearing that legOS full power is actually about 99% power ??? Something to do with an optimization to the code, which would otherwise require special handling ??? This is a vague memory - can others confirm ??? Max. ----- Original (...) (23 years ago, 12-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Linux driver for USB Tower
|
|
A better link would be (URL) you have to find the link for the Project Home Page (under Public Areas). Ed P.S. I am not involved either! Rainer Balzerowski <balze2@gmx.net> wrote in message news:Gpn9Lo.6E@lugnet.com... (...) (23 years ago, 11-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
three 2200uf capacitors fixed the problem but does anyone know why the difference between legOS and the standard firmware?? "Kingsley Gifford" <kgifford@thezone.net> wrote in message news:3C8BDD44.809080...one.net... (...) (23 years ago, 11-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Fw: exponents, e^
|
|
legOS isnt hard to setup on windows, but i think lejos is an easier environment to setup/use, especially for users who have no cygwin/unix experience.... (...) (23 years ago, 11-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | legOS not working with external relay switches
|
|
I'm in the process of "reviving" past inventions with my new knowledge of legOS. One such invention (if you can call it that) used 3 12V relay switches to control external circuits. Full power on the outputs would trigger the relays. however, under (...) (23 years ago, 10-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) They don't, but they need bignums (really big integers). (...) the API is in java.math.BigInteger . (...) You could just run PPP over it I suppose, with some encryption (IPSec?) on top of it. Would be dead slow, though. The charm of the RCX (...) (23 years ago, 10-Mar-02, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Fw: exponents, e^
|
|
By all means use lejOS, but don't think that legOS is hard to get working on Windows. Max. ----- Original Message ----- From: "David Dubravetz" <david_dubravetz@hotmail.com> To: <lugnet.robotics.rcx...ugnet.com> Sent: Thursday, March 07, 2002 4:57 (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) If you need floating point numbers the leJOS JVM for the RCX uses floating point: (URL) seems like a very intersting idea. I actually wanted to skip the RCX altogether and somehow link up a networking protocol using just the IR Towers. One (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) It really isn't that limited when you consider other platforms that run full PK systems, such as the Dallas Semiconductor iButton. It has a much more limited processors, more limited RAM, and you write your code in Java so it has to be (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) Excellent point, Benton Jackson e-mailed me with the following: (...) Good idea using a external sensor to seed some sort of random number generator function. However, the codebase for PGP is pretty darned large and after looking at the source (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) The key word is a "good" generator. Random() is way too predictable to use in a crypto application. (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: exponents, e^
|
|
(...) Remote control and lejos: You can download a Java object to accept commands from the remote. Check out (URL) lejos. Roger (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile command to make *.map files
|
|
I had a similar problem with the "sort" program apparently not functioning and then someone kindly looked at my error output and pointed out that I should make sure that the CYGWIN bin path was added to the FRONT of my path as declared in my (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: RCX as a PGP engine
|
|
(...) Even if it needed FP, legOS supports that. (...) Well, maybe. Maybe not. legOS has a random() function, right? Once the TCP/IP patch is stable, why not use an RCX as an echo server with built in en/decryption? You could just telnet to it, type (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Attention cygwin and windows users
|
|
Quoting Ed Manlove (emanlove@ieee.org): (...) If we actually get to the point of doing another release (and thus finding a maintainer for the project, etc) maybe this is something we should consider integrating? Anyone else building on Cygwin and (...) (23 years ago, 8-Mar-02, to lugnet.robotics.rcx.legos)
|