Hello Sam,
sorry for a later response. The link I posted is directed to a community group, where you probably do not have access to. I'll try to summarize and guide you through it.
Basically, if you want to create a mesh network, you should load a mesh_device project on multiple KW41Z, but each on with an unique BD_ADDR_ID (define on the bottom od the app_preinclude.h located in mesh_device\app\mesh_device project structure). For example 0x01 for the first device, 0x02 for the other, etc.
If you want to explore a lightning profile, you can assign a Light switch or Light bulb role to each of these devices. This can be done in app.h in the same project folder. Here, you can enable either gAppLightSwitch_d or gAppLightBulb_d. You can then inspect what is changed by these macros in app.c. You will then need to fill the UpdateLightUI function in the app.c, it could be looking like this:
static void UpdateLightUI(bool_t lightOn)
{
if (lightOn)
{
Led2On();
Led3On();
Led4On();
}
else
{
Led2Off();
Led3Off();
Led4Off();
}
}
Then, you should load a mesh_commissioner project into an other board and start a serial connection to this board. Through this you will be able to control every mesh_device you have created and addressing them using their BD_ADDR_ID. If you type "help", you'll receive a list of commands you can use. For example, you can type "light on" for a broadcast message to turn off lights on all devices. A UpdateLightUI is then called on each node with a bool parameter lightOn 0. If you want to send an unicast message to a device with BD_ADDR_ID set as 0x01, then type "light on 1" (here, the address is in decimal). You can also set a device to publish on a certain multicast address through a "pub" command and subscribe other devices to this address through a "sub" command. More on multicast settings is written in the Mesh User guide. It is possible to change a TTL value of each mesh node from the commissioner through a "ttl set" command, default value is 5. You can also enable/disable a relay status of each node through a "relay" command.
If you want to create some custom functions on both types of devices, you can use the API from the mesh library.
Hope this helps,
Daniel