how to use RTCS_tunnel_add(..)

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

how to use RTCS_tunnel_add(..)

686 Views
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(..)

Labels (1)
Tags (3)
0 Kudos
2 Replies

402 Views
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 Kudos

402 Views
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 Kudos