You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The structures cy_network_static_ip_addr_t and cy_wcm_ip_setting_t are pretty much the same when used in different places(cy_nw_ip_address_t is also identical with cy_wcm_ip_address_t), but the items are not in the same order, does it have a particular reason to do so? this difference won't benefit from using direct mem-copy(such as memcpy() or casting), it makes the conversion unnecessarily complicated,
Describe the solution you'd like
This is what cy_network_static_ip_addr_t looks like:
typedef struct cy_network_static_ip_addr
{
cy_nw_ip_address_t addr; /**< The IP address for the network interface */
cy_nw_ip_address_t netmask; /**< The netmask for the network interface */
cy_nw_ip_address_t gateway; /**< The default gateway for network traffic */
} cy_network_static_ip_addr_t;
make the same order in file include\cy_wcm.h at line 489:
typedef struct
{
cy_wcm_ip_address_t ip_address; /**< IP address. */
cy_wcm_ip_address_t netmask; /**< Netmask. */ ----- swap this network with gateway
cy_wcm_ip_address_t gateway; /**< Gateway address. */
} cy_wcm_ip_setting_t;
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The structures
cy_network_static_ip_addr_t
andcy_wcm_ip_setting_t
are pretty much the same when used in different places(cy_nw_ip_address_t
is also identical withcy_wcm_ip_address_t
), but the items are not in the same order, does it have a particular reason to do so? this difference won't benefit from using direct mem-copy(such asmemcpy()
or casting), it makes the conversion unnecessarily complicated,Describe the solution you'd like
This is what
cy_network_static_ip_addr_t
looks like:make the same order in file
include\cy_wcm.h
at line 489:The text was updated successfully, but these errors were encountered: