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

Studio Bluetooth Forum Discussions

SnGh_4568476
Level 1
Level 1
25 sign-ins 10 sign-ins 5 questions asked

Hello Cypress Team,

I am using WICED 6.4 for to program CYBT 423028 EVAL board and having some help from you to understand some things. I observed the following lines in every sample codes, want to know more about this:

#define MESH_PID                0x3016

#define MESH_VID                0x0002

#define MESH_FWID               0x3016000101010001

#define MESH_CACHE_REPLAY_SIZE  0x0008

1) How this values were finalized?

2) What is the importance of this lines in the code?

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

These values are the composition data. It contains information about a node, the elements it includes and the supported models. It is mandatory for the mesh node. The details about these parameters are defined in the mesh profile spec chapter 4.2.1:https://www.bluetooth.com/specifications/mesh-specifications/ 

The parameter mesh_config is used during the initialization process. You can find the related code in libraries/common/mesh_app_lib/mesh_application.c

View solution in original post

1 Reply
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

These values are the composition data. It contains information about a node, the elements it includes and the supported models. It is mandatory for the mesh node. The details about these parameters are defined in the mesh profile spec chapter 4.2.1:https://www.bluetooth.com/specifications/mesh-specifications/ 

The parameter mesh_config is used during the initialization process. You can find the related code in libraries/common/mesh_app_lib/mesh_application.c