I have a custom model that is declared as follows
BT_MESH_MODEL_PUB_DEFINE(vnd_pub, NULL, 3 + 8);
struct bt_mesh_model vnd_models[] = {
BT_MESH_MODEL_VND(MODEL_CID, MODEL_ID, vnd_ops,
&vnd_pub, NULL),
};
static struct bt_mesh_elem elements[] = {
BT_MESH_ELEM(
1, BT_MESH_MODEL_LIST(
BT_MESH_MODEL_CFG_SRV,
BT_MESH_MODEL_HEALTH_SRV(&_health_srv, &_health_pub),
BT_MESH_MODEL_BATTERY_SRV(&_batt_ctx.srv),
BT_MESH_MODEL_CFG_CLI(&_config_client),
BT_MESH_MODEL_HEALTH_CLI(&_health_client)
),
vnd_models),
};
// mesh composition
static const struct bt_mesh_comp _comp = {
.cid = CONFIG_BT_COMPANY_ID,
.elem = elements,
.elem_count = ARRAY_SIZE(elements),
};
I can provision with the nRF mesh app without problems but when I set up publish parameters on the custom model -I get "Invalid publish parameters" from the app and in the log I get
"bt_mesh_transport: No matching TX context for ack"
"bt_mesh_transport: No matching TX context for ack"
Any ideas ? I set publish address to 0xFFFF, period to 5 seconds retransmit to 2 and retransmit interval to 300 ms
Tried different values - no luck . What does the "no matching TX context for ack" error mean?
Tried different values - no luck . What does the "no matching TX context for ack" error mean?
Thank you