Lines Matching full:tx
162 struct bt_mesh_net_tx tx = { in publish_retransmit() local
176 tx.sub = bt_mesh_subnet_get(key->net_idx); in publish_retransmit()
186 err = bt_mesh_trans_send(&tx, sdu, &pub_sent_cb, mod); in publish_retransmit()
615 struct bt_mesh_net_tx *tx, bool implicit_bind, in model_send() argument
619 BT_DBG("net_idx 0x%04x app_idx 0x%04x dst 0x%04x", tx->ctx->net_idx, in model_send()
620 tx->ctx->app_idx, tx->ctx->addr); in model_send()
638 if (!implicit_bind && !model_has_key(model, tx->ctx->app_idx)) { in model_send()
639 BT_ERR("Model not bound to AppKey 0x%04x", tx->ctx->app_idx); in model_send()
643 return bt_mesh_trans_send(tx, msg, cb, cb_data); in model_send()
651 struct bt_mesh_net_tx tx = { in bt_mesh_model_send() local
659 return model_send(model, &tx, false, msg, cb, cb_data); in bt_mesh_model_send()
669 struct bt_mesh_net_tx tx = { in bt_mesh_model_publish() local
713 tx.friend_cred = pub->cred; in bt_mesh_model_publish()
714 tx.sub = bt_mesh_subnet_get(ctx.net_idx), in bt_mesh_model_publish()
721 err = model_send(model, &tx, true, sdu, &pub_sent_cb, model); in bt_mesh_model_publish()