how to use RTCS_tunnel_add(..)

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

how to use RTCS_tunnel_add(..)

764 次查看
namile
Contributor II

Can anyone on this forum tell me how to use the function in MQX RTCS (mqx version does not matter )?

RTCS_tunnel_add(..)

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

480 次查看
RadekS
NXP Employee
NXP Employee

Unfortunately I do not have any experience with IP tunneling.

But, it seems that prior you add IP tunnel, you should initialize the IP over IP tunnel device.

I would like to recommend edit rtcsinit.c file and add there:

#if RTCSCFG_ENABLE_IPIP

  RTCSPROT_IPIP,

#endif

and define RTCSCFG_ENABLE_IPIP in your user_config.h file

#define RTCSCFG_ENABLE_IPIP 1

In fact, I have no idea whether this code works or not.

I am sorry.


Have a great day,
RadekS

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

0 项奖励
回复

480 次查看
namile
Contributor II

Thank you RadekS.

Based on the bit's and piece's of information i found in the source and manual. I have already done that.

RTCS_tunnel_add(..) does return successfully but don't know how it test this tunnel. That is what I am trying to figure out and seeking help from Freescale. So far, not much of a help.

0 项奖励
回复