Sensding serial data over ethernet port in MOD54415

Discussion to talk about software related topics only.
Post Reply
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Sensding serial data over ethernet port in MOD54415

Post by nicobari »

Hi,
This might be completely ignorant but is there an example which send serial data over the Ethernet port in MOD54415? For example instead of printing data out of the debug port and looking it on MTTTY, I can directly send the debug data via the Ethernet port. If this is possible is there a way to decode the data and look at the data? This way I imagine discarding the need to carry a serial cable around to read data from MOD54415 while I am in the field. I would appreciate any advise in this matter. Thanks.

Regards,
TM
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Sensding serial data over ethernet port in MOD54415

Post by Ridgeglider »

Easy to send serial data to a telnet port. See the examples at
C:\nburn\examples\StandardStack\serial\tcp2serial
C:\nburn\examples\StandardStack\serial\DualTcpToSerial
C:\nburn\examples\StandardStack\telnetcmd
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Sensding serial data over ethernet port in MOD54415

Post by dciliske »

You can also use the syslog function. It works the same way as printf, but you give a destination IP (or just broadcast it) and it sends out messages via udp to the destination.
Dan Ciliske
Project Engineer
Netburner, Inc
nicobari
Posts: 110
Joined: Mon Jan 30, 2012 12:15 pm

Re: Sensding serial data over ethernet port in MOD54415

Post by nicobari »

Thank you for the help.

Regards,
TM
Post Reply