From: Inga Stotland Date: Wed, 18 Mar 2020 17:48:59 +0000 (-0700) Subject: tools/mesh-cfgclient: Increase app's CRPL size X-Git-Tag: accepted/tizen/unified/20200402.155610~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F228954%2F1;p=platform%2Fupstream%2Fbluez.git tools/mesh-cfgclient: Increase app's CRPL size This increases the value of the CRPL supplied by the applicaiton to 0x7fff: since the tool is intended to be a provisioner and config client, it may have to keep track of communications with a significant number of unique mesh nodes, each with its corresponding CRPL entry in config client node storage. Therefore, a large CRPL size is necessary. Change-Id: Ibe00615cc57e161d107f36c6b1086a495dc9aa5e Signed-off-by: Anupam Roy --- diff --git a/tools/mesh-cfgclient.c b/tools/mesh-cfgclient.c index cdfe39b..8edf7cf 100644 --- a/tools/mesh-cfgclient.c +++ b/tools/mesh-cfgclient.c @@ -59,6 +59,7 @@ #define DEFAULT_START_ADDRESS 0x00aa #define DEFAULT_MAX_ADDRESS (VIRTUAL_ADDRESS_LOW - 1) #define DEFAULT_NET_INDEX 0x0000 +#define MAX_CRPL_SIZE 0x7fff #define DEFAULT_CFG_FILE "config_db.json" @@ -124,7 +125,7 @@ static struct meshcfg_app app = { .cid = 0x05f1, .pid = 0x0002, .vid = 0x0001, - .crpl = 10, + .crpl = MAX_CRPL_SIZE, .ele = { .path = "/mesh/cfgclient/ele0", .index = 0,