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

DSM_ADDR_MAX_LIMIT - is it possible to increase this?

Hi,

I am creating an application in which there are ~12 elements per device and could have >20-30 devices. I would like to individually address each of these using a serial device. I quickly found that i've reached the maximum number of address that the serial device can store, after updating the max values in nrf_mesh_config_app.h.

I found the hard limit:

DSM_ADDR_MAX_LIMIT (185) in device_state_manager.h

Is it possible to increase this limit? How can I store a large number of addresses on a devices so that I do not have to do the inefficient multi step method of adding and removing addresses? 

Many thanks in advance,
Tim

- mac OSx
- nRF5 SDK for Mesh v3.1
- PCA10040 nRF52 Dev boards with Serial Example and Custom Server/Client application

Parents Reply Children
  • Information from our Mesh team: 

    If a qualification is not going to be done, then it is possible to change this value. This limit was added to ensure that the response to the Subscription List Get message goes not exceed the maximum possible PDU size for the access message. If this value is changed and those many addresses are simultaneously active in the model subscription list, a user should not send Config SIG/Vendor Model Subscription Get messages, if this happens, a node will not send any response for this messages.

    Best regards, 
    Joakim

Related