ethernet working in mqx 4.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ethernet working in mqx 4.2

1,069 次查看
Abil
Contributor II

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

标签 (1)
0 项奖励
回复
2 回复数

748 次查看
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 项奖励
回复

748 次查看
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 项奖励
回复