This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK Macros and max number of connections in SDK 15.3

In previous SDKs (e.g. version 15.0) the following macros were defined in app_util.h

#define MACRO_MAP_FOR_N_LIST 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

#define MACRO_REPEAT_FOR_0
    :
#define MACRO_REPEAT_FOR_13
#define MACRO_REPEAT_FOR_14 
#define MACRO_REPEAT_FOR_15

As described in this post these needed to be modified to support more than 15 connections.

I recently upgraded to SDK 15.3. In SDK 15.3 I noticed these macros have now been extended out to the value of 32.

#define MACRO_MAP_FOR_N_LIST 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, \
                            19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32

Is there a reason this was extended beyond the current maximum number of connections (i.e. 20)?

Are there plans to support up to 32 connections in a future release?

Related