how to use RTCS_tunnel_add(..)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to use RTCS_tunnel_add(..)

1,134件の閲覧回数
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 返答(返信)

850件の閲覧回数
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 件の賞賛
返信

850件の閲覧回数
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 件の賞賛
返信