I am an engineering student working on a project that involves sending interger data from one tower system to another using the ethernet module.  I know that I probably need to use the RTCS protocols, but am pretty much stuck with getting started using them(Lab #2, about the web server, is far more detailed than I need).  I am very new to the tower system any help in pointing me in the right diection would be greatly appreciated. 

Tags: ethernet

Reply to This

Replies to This Discussion

I have located the RTCS User Guide and I am currently stuck setting up the RTCS with an ethernet device. The user guide gives an example of this, but it does not give the necessary files I need to be including for the code to compile. I have tried including some of the RTCS files but I just get an error saying that they can't be opened. Does anyone have any examples projects that can show me how to set up the RTCS for an ethernet device?

Reply to This

Hi Rob,
A good place to look for some simple example code would be the email example in the \demo\security_email folder.

The function SEC_InitializeNetworking() (in Security_Network.c) sets up RTCS, and the SEC_EmailAlert() function (in Mail.c) shows creating and using sockets to do basic communication.

If you're still having trouble with compiling RTCS code, the easiest way to get a very basic RTCS project is to open CodeWarrior, and go to File->New Project in the menu bar. Select "Freescale MQX 3.5 Stationery", give it a name, and on the next screen, select the your board and then the "MQX+RTCS" option underneath that. It'll set up a simple RTCS project that starts RTCS and then starts a shell to do basic TCP/IP commands. This is included with MQX 3.5 so make sure you update to that first.

Hope that helps!

Reply to This

RSS

Advertisement Click Here

Spread The Word!

Follow TowerGeeks on TwitterTowerGeeks on FacebookShare This
Towergeeks has their own pages on Twitter as well as Facebook. Find us there and help spread the word about the Tower System!

© 2010   Created by TowerGeeks.

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!