EmbeddedRelated.com
Forums

How to send data through ethernet

Started by sath...@microview-tech.com January 11, 2007
Hi,
I posted 3 mails and still i didnot get any response from the group.Please help me by telling how to send data from PC to Rabbit processor through ethernet.I need deatailed explanation regarding this.I am planning to use Telnet-UDP-IP-10Base-T for my application.My application is lighting controller.If any one have simple project involving these protocol plz send to me.I basically confused how to send my data through TELNET and UDp to Rabbit processor.I am using RCM4000 and DC10.05.I saw sample code provided by them but i couldnot understand how to use those code to send data from PC to Rabbit.Plz help me in this regard .Its very Urgent!
Thanks in Advance.\\

Regards
sathya
Dear indian friend. First you must learn the basics
of TCP/IP to do what you want. What a socket is, what
a server is and what a client is. Google it and study
it for a while before try to do something.
For now, if you are so impatient, run the
samples/tcpip/telnet/rxsample.c in debug mode (Enable
RST28 instructions in the compiler options) and remove
this line from the top of this program:

#define INPUT_COOKED

Removing this line youll be able to see on the stdio
screen the same data you sent through telnet
connection.
Once rabbit is running this sample code with this
define removed, open your dos prompt and issue a
telnet command. An example for rabbits IP assumed
like 192.168.0.100 is:

telnet 192.168.0.100

The port 23 is default port for telnet service. Once
the connection is stablished (it will be prompted on
stdio screen) start typing some chars on dos prompt
and check if they are being printed on stdio screen.
So, voila, you are sending data from a PC to Rabbit
as you wish...
For specific aplications you must write a telnet
client software using, delphi, c++, mfc or even C for
the PC side.

Best regards

--- s...@microview-tech.com escreveu:

> Hi,
> I posted 3 mails and still i didnot get any response
> from the group.Please help me by telling how to send
> data from PC to Rabbit processor through ethernet.I
> need deatailed explanation regarding this.I am
> planning to use Telnet-UDP-IP-10Base-T for my
> application.My application is lighting controller.If
> any one have simple project involving these protocol
> plz send to me.I basically confused how to send my
> data through TELNET and UDp to Rabbit processor.I am
> using RCM4000 and DC10.05.I saw sample code provided
> by them but i couldnot understand how to use those
> code to send data from PC to Rabbit.Plz help me in
> this regard .Its very Urgent!
> Thanks in Advance.\\
>
> Regards
> sathya
>
__________________________________________________
Fale com seus amigos de gra com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
Hi,
Thanks for your response.I have gone through TCP/IP documents and also code
what you told .I executed and i able to see the data on stdio what i typed
in command prompt.But My question is for my application i,e lighting
controller which needs some segments of LED to turn on and off can i use
telnet.Plz tell me how telnet which is in application layer communicate to
UDP and UDP to IP in network layer.What changes needed to be done in code to
make inter communication between these protocols.

I think though i asking you basics plz tell me how exactly to do in the
code.

Regards
s.sathyamurthy
-----Original Message-----
From: r... [mailto:r...]On
Behalf Of Alexandre Kremer
Sent: Thursday, January 11, 2007 4:05 PM
To: r...
Subject: Re: [rabbit-semi] How to send data through ethernet
Dear indian friend. First you must learn the basics
of TCP/IP to do what you want. What a socket is, what
a server is and what a client is. Google it and study
it for a while before try to do something.
For now, if you are so impatient, run the
samples/tcpip/telnet/rxsample.c in debug mode (Enable
RST28 instructions in the compiler options) and remove
this line from the top of this program:

#define INPUT_COOKED

Removing this line youll be able to see on the stdio
screen the same data you sent through telnet
connection.
Once rabbit is running this sample code with this
define removed, open your dos prompt and issue a
telnet command. An example for rabbits IP assumed
like 192.168.0.100 is:

telnet 192.168.0.100

The port 23 is default port for telnet service. Once
the connection is stablished (it will be prompted on
stdio screen) start typing some chars on dos prompt
and check if they are being printed on stdio screen.
So, voila, you are sending data from a PC to Rabbit
as you wish...
For specific aplications you must write a telnet
client software using, delphi, c++, mfc or even C for
the PC side.

Best regards

--- s...@microview-tech.com escreveu:

> Hi,
> I posted 3 mails and still i didnot get any response
> from the group.Please help me by telling how to send
> data from PC to Rabbit processor through ethernet.I
> need deatailed explanation regarding this.I am
> planning to use Telnet-UDP-IP-10Base-T for my
> application.My application is lighting controller.If
> any one have simple project involving these protocol
> plz send to me.I basically confused how to send my
> data through TELNET and UDp to Rabbit processor.I am
> using RCM4000 and DC10.05.I saw sample code provided
> by them but i couldnot understand how to use those
> code to send data from PC to Rabbit.Plz help me in
> this regard .Its very Urgent!
>
>
> Thanks in Advance.\\
>
> Regards
> sathya
>

__________________________________________________
Fale com seus amigos de gra com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.410 / Virus Database: 268.16.8/621 - Release Date: 9/1/2007










Hi all, I think S. is talking about DMX512 or something similar to it.



S. you need to do some research into DMX protocols, which is the
facto-standard for lighting control systems.



I think you can find it on a search in this forum or even on a google
search to find the .org in charge of the DMX format.



This forum is designed for educated users to help!



If you need someone to write most of your code, then please go to the
Rabbit Web site and go through the selection of a consultant to assist
you with your code development.





This forum is a great source of information and by careful searching,
most answers can be located within.



JIMA

IDE Solutions, Inc.





murthy wrote:





Hi,

Thanks for your response.I have gone through
TCP/IP documents and also code what you told .I executed and i able to
see the data on stdio what i typed in command prompt.But My question is
for my application i,e lighting controller which needs some segments of
LED to turn on and off  can i use telnet.Plz tell me how telnet which
is in application layer communicate to UDP and UDP to IP in network
layer.What changes needed to be done in code to make inter
communication between these protocols.

 

I think though i asking you basics plz tell me
how exactly to do in  the code.

 

Regards

s.sathyamurthy


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

From: rabbit-semi@yahoogroups.com [mailto:rabbit-semi@yahoogroups.com]On
Behalf Of
Alexandre Kremer

Sent: Thursday, January 11, 2007 4:05 PM

To: rabbit-semi@yahoogroups.com

Subject: Re: [rabbit-semi] How to send data through ethernet





Dear indian friend. First you must learn the basics

of TCP/IP to do what you want. What a socket is, what

a server is and what a client is. Google it and study

it for a while before try to do something.

For now, if you are so impatient, run the

samples/tcpip/telnet/rxsample.c in debug mode (Enable

RST28 instructions in the compiler options) and remove

this line from the top of this program:



#define INPUT_COOKED



Removing this line you´ll be able to see on the stdio

screen the same data you sent through telnet

connection.

Once rabbit is running this sample code with this

define removed, open your dos prompt and issue a

telnet command. An example for rabbit´s IP assumed

like 192.168.0.100 is:



telnet 192.168.0.100



The port 23 is default port for telnet service. Once

the connection is stablished (it will be prompted on

stdio screen) start typing some chars on dos prompt

and check if they are being printed on stdio screen.

So, voila, you are sending data from a PC to Rabbit

as you wish...

For specific aplications you must write a telnet

client software using, delphi, c++, mfc or even C for

the PC side.



Best regards



--- sathyamurthy@microview-tech.com
escreveu:



> Hi,

> I posted 3 mails and still i didnot get any response

> from the group.Please help me by telling how to send

> data from PC to Rabbit processor through ethernet.I

> need deatailed explanation regarding this.I am

> planning to use Telnet-UDP-IP-10Base-T for my

> application.My application is lighting controller.If

> any one have simple project involving these protocol

> plz send to me.I basically confused how to send my

> data through TELNET and UDp to Rabbit processor.I am

> using RCM4000 and DC10.05.I saw sample code provided

> by them but i couldnot understand how to use those

> code to send data from PC to Rabbit.Plz help me in

> this regard .Its very Urgent!

>

>

> Thanks in Advance.\\

>

> Regards

> sathya

>



__________________________________________________

Fale com seus amigos de graça com o novo Yahoo! Messenger

http://br.messenger.yahoo.com/












__._,_.___























Recent Activity



Visit Your Group


SPONSORED LINKS







Business News

Hot"" target="_blank" rel="nofollow">http://smallbusiness.yahoo.com/r-index">Hot" target="_blank" rel="nofollow">http://us.rd.yahoo.com/evtD092/*Hot" target="_blank" rel="nofollow">http://smallbusiness.yahoo.com/r-index">Hot Headlines


Get localized news


for your area.



Y! GeoCities

Share"" target="_blank" rel="nofollow">http://geocities.yahoo.com/">Share" target="_blank" rel="nofollow">http://us.rd.yahoo.com/evtB416/*Share" target="_blank" rel="nofollow">http://geocities.yahoo.com/">Share Interests


Connect with


others on the web.





.

nc3848527

__,_._,___