ethernet working in mqx 4.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ethernet working in mqx 4.2

659 Views
Abil
Contributor II

hi, i am using RTCS stack and want to know how to communicate between two ports?

Labels (1)
0 Kudos
2 Replies

338 Views
Carlos_Musich
NXP Employee
NXP Employee

Shweta,

You need a client-server TCP/UDP interface. The attached example may be useful.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

338 Views
soledad
NXP Employee
NXP Employee

Hello,

There is an Ethernet driver in \mqx\io\enet, normally you will use the high-level socket interface provided by the RTCS stack to transmit and receive data.Please check the below application note, this hows how to use this driver and it explains the setup sequence required to start using RTCS. (section 2.5)

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4345.pdf

In addition you can find some RTCS example applications, you can use this examples as reference

<mqx_install>\rtcs\examples

eth_to_serial: Simple character passing between the UART console and the telnet session. Shows custom "lightweight" telnet.

httpsrv: Simple web server with CGI-like scripts and web pages stored in internal flash.

shell: Shell command line providing commands for network management.

snmp: SNMP protocol example providing microprocessor state information.

Also there are some application notes that may can be useful:

  • Communication between MQX™ RTOS and Android Operating System

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4810.pdf

  • MCU control and monitor with Twitter

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4417.pdf

  • IP Camera and USB Snapshot with MQX

http://cache.nxp.com/files/32bit/doc/app_note/AN4022.pdf

I hope this helps, have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos