Where do I put application code in for MQX program?

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

Where do I put application code in for MQX program?

1,931 次查看
funkyguy4000
Contributor II

I've never worked with MQX before, always bare-metal, so I am kind of confused where the user-code goes.

I am working with the FRDM-K64F and hoping to use MQX with the RTCS (Real Time TCP/IP communication suite I think) because it has support for SNMP

I have found much documentation on importing the projects into Codwarrior and Kinetis Design Studio, which i can do, but I have no idea where to put my code

Bonus : Where do I even start with working with SNMP?  It looks like there is a project devoted to that in the examples but I don't know how I would use that with my own application.

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

1,747 次查看
soledad
NXP Employee
NXP Employee

Hi Shannon,

In MQX you need to create tasks and every task has a specific code according your needs. Maybe some people kill me for saying this, but this analogy can work, imagine that each task is a subroutine or function so you can write the code that you need at each funtion. The tasks have a priority and runs according this priority.

Maybe it is a little more complex, you can to check the attached application note.

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 项奖励
回复