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

multiple server on one client - light switch demo

Hellou. I'm developing application, which is modifiaction of light switch demo. I need use 128 servers and one client. But when I redefine in SERVER_COUNT to 128 in client application, it is no posible connect to servers (servers are not promisioned). I was read somewhere its needed change ACCESS_FLASH_PAGE_COUNT and DSM_FLASH_PAGE_COUNT . But I didn't find how many pages are needed for example 128 servers. My question is how many bytes are needed for writing data to ACCESS_FLASH and how many bytes are needed for writing data to DSM_FLASH by promisioning for 1 server. When i know how many bytes ist needed for 1 bytes, its enoght multiple by SERVER _COUNT(exactly 128) and from this calculate hoe many pages is needed for ACCESS_FLASH_PAGE_COUNT and  DSM_FLASH_PAGE_COUNT. 

Thank you for answer. 

Parents
  • Hi, i am not sure if you understand my question. I have 128 servers ( devices), each of this have same firmare, so i use same model for functionality between client and model. But I need connect this 128 servers to 1 client and drive this servers from client separately( unicast) and also broadcast. I need create connection between 128 servers and client (each server need be promisioned). So client need save information about each server. This information are saved to DSM_FLASH and ACCESS_FLASH. But nowhere is not describe how many bytes is needed for save information for 1 server for DSM_FLASH and ACCESS_FLASH. How many pages is needed for DSM_FLASH and ACCESS_FLASH for success promisioning for all 128 devices. 

  • Yes, I understand that what you need. I was just compare it to our light switch client we have in the SDK. Have you found that we have 4 client models/elements on the client node ? 

    If you plan to use only one client element to control all node, you would need to add the code I suggested to change the publication address on the client to target different servers.

    I assume your question is more about how the flash be allocated on the provisionner. I don't have a clear number of how many bytes needed on each server. But what you can do is to refer to the provisioner database (.xml file) we use in the python interactive script here.

    We don't recommend to use the nRF5 to be used as the provisioner for a large network, as it has quite limited memory and CPU. We suggest to use a PC or phone to manage the provisioning and storing the data base about the nodes. The interactive python is highly recommended.

     

     

Reply
  • Yes, I understand that what you need. I was just compare it to our light switch client we have in the SDK. Have you found that we have 4 client models/elements on the client node ? 

    If you plan to use only one client element to control all node, you would need to add the code I suggested to change the publication address on the client to target different servers.

    I assume your question is more about how the flash be allocated on the provisionner. I don't have a clear number of how many bytes needed on each server. But what you can do is to refer to the provisioner database (.xml file) we use in the python interactive script here.

    We don't recommend to use the nRF5 to be used as the provisioner for a large network, as it has quite limited memory and CPU. We suggest to use a PC or phone to manage the provisioning and storing the data base about the nodes. The interactive python is highly recommended.

     

     

Children
No Data
Related