Change WICED_ALLOCATE_PACKET_TIMEOUT

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello,

I want to change WICED_ALLOCATE_PACKET_TIMEOUT from 2000ms to 20000ms (from 2sec to 20sec).

 

I've tried GLOBAL_DEFINES += WICED_ALLOCATE_PACKET_TIMEOUT=20000

 

but I obtained WICED_ALLOCATE_PACKET_TIMEOUT redefined ...

 

How can I solve ?

0 Likes
1 Solution

Hi @MaFa_974161 ,

We cannot redefine a macro in make file which is already defined in the header file.

You can edit wiced_defualts.h to set the timeout.

Thanks,

Rakesh B G

View solution in original post

0 Likes
5 Replies