how to use RTCS_tunnel_add(..)
Can anyone on this forum tell me how to use the function in MQX RTCS (mqx version does not matter )?
RTCS_tunnel_add(..)
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!
-----------------------------------------------------------------------------------------------------------------------
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.
