Lines Matching refs:pub_addr
115 static uint8_t _mod_pub_set(const struct bt_mesh_model *model, uint16_t pub_addr, in _mod_pub_set() argument
131 if (pub_addr == BT_MESH_ADDR_UNASSIGNED) { in _mod_pub_set()
169 model->pub->addr = pub_addr; in _mod_pub_set()
655 uint16_t pub_addr, bool vnd, in send_mod_pub_status() argument
671 net_buf_simple_add_le16(&msg, pub_addr); in send_mod_pub_status()
696 uint16_t elem_addr, pub_addr = 0U; in mod_pub_get() local
736 pub_addr = mod->pub->addr; in mod_pub_get()
740 return send_mod_pub_status(model, ctx, elem_addr, pub_addr, vnd, mod, in mod_pub_get()
749 uint16_t elem_addr, pub_addr, pub_app_idx; in mod_pub_set() local
766 pub_addr = net_buf_simple_pull_le16(buf); in mod_pub_set()
781 LOG_DBG("elem_addr 0x%04x pub_addr 0x%04x cred_flag %u", elem_addr, pub_addr, cred_flag); in mod_pub_set()
801 status = _mod_pub_set(mod, pub_addr, NULL, pub_app_idx, cred_flag, pub_ttl, in mod_pub_set()
805 return send_mod_pub_status(model, ctx, elem_addr, pub_addr, vnd, mod, in mod_pub_set()
847 uint16_t pub_addr = 0U; in mod_pub_va_set() local
904 pub_addr = va->addr; in mod_pub_va_set()
906 status = _mod_pub_set(mod, pub_addr, va->uuid, pub_app_idx, cred_flag, pub_ttl, in mod_pub_va_set()
913 return send_mod_pub_status(model, ctx, elem_addr, pub_addr, vnd, mod, in mod_pub_va_set()