Search found 1 match

by lzc56_Win
Thu Oct 24, 2024 5:12 am
Forum: ESP-IDF
Topic: Messaging in ESP_BLE_MESH
Replies: 1
Views: 1480

Re: Messaging in ESP_BLE_MESH

do this
```
case ESP_BLE_MESH_MODEL_OPERATION_EVT:
if (param->model_operation.opcode == ESP_BLE_MESH_VND_MODEL_OP_SEND)
{
uint16_t tid = *(uint16_t *)param->model_operation.msg;
ESP_LOGI(TAG, "Recv 0x%06" PRIx32 ", tid 0x%04x", param->model_operation.opcode, tid);
memcpy(&my_ctx, param->model ...

Go to advanced search