This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2SX: How to implement gateway configuration support

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