- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wiced_bt_mesh_event_t *p_event = wiced_bt_mesh_create_event(0x00, MESH_COMPANY_ID_CYPRESS, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_LEVEL_SRV, 0, 0);
I am trying to create an event to send a Mesh message, but the function always seems to return NULL. Does anyone have an idea why this might be or how to fix this?
The device is provisioned and the Level Client element of the device has an app key and a publish address.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please change 0x00 to just 0 and try again?
And please check the company id and model id are properly defined in the application.
wiced_bt_mesh_event_t *p_event = wiced_bt_mesh_create_event(0, MESH_COMPANY_ID_CYPRESS, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_LEVEL_SRV, 0, 0);
If it doesn't work please attach your code here, so than i can take a look at it.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please change 0x00 to just 0 and try again?
And please check the company id and model id are properly defined in the application.
wiced_bt_mesh_event_t *p_event = wiced_bt_mesh_create_event(0, MESH_COMPANY_ID_CYPRESS, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_LEVEL_SRV, 0, 0);
If it doesn't work please attach your code here, so than i can take a look at it.
Thanks,
-Dheeraj