2 of 2 people found this helpful
If your application does not require AP mode for the radio, you can remove the DHCP server component and get back your much required 1557 bytes. To do so, first you have to figure out what are the cases where WICED_USE_INTERNAL_DHCP_SERVER is used. For each of those cases, you have to modify or negate the usage of Internal DHCP server module present in WICED. If you check through the building process, you will find out internal DHCP server is used to bring up IP layer on P2P interface. The network stack (by default NetX Duo) also uses internal DHCP server module in several components to bring up the softAP. You have to modify the contents of WICED> Security> BESL> host > WICED> wiced_p2p.c. Likewise, you have to modify the contents of wiced_management.c (WICED>internal), wiced_network.c, wiced_network_common.c so that internal DHCP server module is not used. After all these modifications, during building process, you should not see the DHCP server module acquiring 1557 bytes of memory.
Perfect. Looks like it works with just a few edits. Thanks.
Makes me wonder what other parts of BESL I could toss away