To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 17118
17117  |  17119
Subject: 
Re: Hacker rcx
Newsgroups: 
lugnet.robotics
Date: 
Tue, 22 Jan 2002 16:26:07 GMT
Original-From: 
PC CHAN <PC.CHAN@ALCATEL.stopspammersCOM>
Viewed: 
851 times
  
Hi,

It looks like you really meant a single "byte".

To my understanding from the RCX 2.0 (with usb port) SDK available from
Lego, the "byte" would have to be wrapped up in a certain way, such as
leading sync bytes plus a number of conditions to form a command for
transporting through the IR tower.

For example the "byte" itself must have a certain bit toggled between
commands, followed by the compliment of the "byte".  The "byte" also
implies  the number of bytes of parameters to follow.  The parameters
should then be paired up with their compliments in the same way.  At the
end there should be a sumcheck and its compliment.

It is a command in a proper wrapper, the RCX is looking for.  We cannot
expect the RCX to respond to a single byte in isolation.

There is a send raw command in nqc, you can send raw bytes to send but
again the RCX would only respond unless it is a properly formed dcommand.

Please read the documentation in the RCX 2.0 SDK for details.  It
should be the same for RCX 1.5, since there isn't a separate SDK for RCX
1.5.

By the way, if you are using nqc (Not Quite C.  It is free!), you may
try the undocumented -v option.  It shows you how each command is being
sent and responsed to.  In that way you can learn how the wrapper works
so that you can do the same in your SENDBYTE.

P.C.
==========================================================================
========================
nanobapt wrote:

Yes my rcx have the firmware !! So i send the Byte by the SENDBYTE
command which include in the port.dll which I use



thanks



nanobapt



-----------------------------------------------------------------
"la cuillère n'existe pas"
http://www.mindstorms-bapt.fr.st/
http://membres.tripod.fr/mecahp
icq : 94470030

    ----- Original Message -----

    From: PC CHAN <mailto:pc.chan@alcatel.com>

    To:nanobapt <mailto:nanobapt@nordnet.fr>

    Cc: lego-robotics@crynwr.com <mailto:lego-robotics@crynwr.com>

    Sent: Monday, January 21, 2002 2:58 PM

    Subject: Re: Hacker rcx


    Which command did you send and how did you send it?   Did your RCX
    have the firmware in it?

    nanobapt wrote:

    i have a problem. I want to program a windows to send RCX
    message  but i have a problem ... My problem that i can send Byte
    but the rcx don't know them. I follow the rcx internal
    instruction but it don't work !!



    Someone can help me to write a program who can send RCX message
    in VB ??



    thanks



    nanobapt



    -----------------------------------------------------------------
    "la cuillère n'existe pas"
    http://www.mindstorms-bapt.fr.st/
    http://membres.tripod.fr/mecahp
    icq : 94470030





--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: text/html; charset=windows-1252
    Content-Transfer-Encoding: quoted-printable
    Content-Length: 6038



Message has 1 Reply:
  RE: Hacker rcx
 
Ok I know the lego network protocol communication but i can't send it well cause the message is first : not understand by the RCX second : cause (perhaps) is that the message is not correctly send ... for more information that the code i use : (...) (23 years ago, 22-Jan-02, to lugnet.robotics)

Message is in Reply To:
  Re: Hacker rcx
 
Yes my rcx have the firmware !! So i send the Byte by the SENDBYTE command which include in the port.dll which I use thanks nanobapt ---...--- "la cuillère n'existe pas" (URL) : 94470030 ----- Original Message ----- From: PC CHAN To: nanobapt Cc: (...) (23 years ago, 22-Jan-02, to lugnet.robotics)

14 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
15 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR