Part Number: TDA2SX
Other Parts Discussed in Thread: TDA2
Hi team,
Here's an issue from the customer may need your help:
GateWay IP configuration in TDA2x is required to implemented and the customer has tried the the following modifications:
/*
* Add the default gateway. Since it is the default, the
* destination address and mask are both zero (we go ahead
* and show the assignment for clarity).
*/
bzero(&RT, sizeof(RT));
RT.IPDestAddr = 0;
RT.IPDestMask = 0;
RT.IPGateAddr = inet_addr(GatewayIP);
CfgAddEntry(hCfg, CFGTAG_ROUTE, 0, 0,
sizeof(CI_ROUTE), (UINT8 *)&RT, 0)
Does modifying the GateWayIP values above correctly modify the GateWay IP?
Thanks and regards,
Cherry