Home
last modified time | relevance | path

Searched refs:pub (Results 1 – 7 of 7) sorted by relevance

/tests/bsim/bluetooth/mesh/src/
A Dtest_heartbeat.c108 static void pub_hb_sent_cb(const struct bt_mesh_hb_pub *pub) in pub_hb_sent_cb() argument
114 ASSERT_EQUAL(pub_addr, pub->dst); in pub_hb_sent_cb()
115 ASSERT_EQUAL(pub_cnt, pub->count); in pub_hb_sent_cb()
116 ASSERT_EQUAL(PUBLISH_PERIOD_SEC, pub->period); in pub_hb_sent_cb()
117 ASSERT_EQUAL(0, pub->net_idx); in pub_hb_sent_cb()
118 ASSERT_EQUAL(PUBLISH_TTL, pub->ttl); in pub_hb_sent_cb()
119 ASSERT_EQUAL(BT_MESH_FEAT_SUPPORTED, pub->feat); in pub_hb_sent_cb()
A Dtest_access.c109 model->pub->msg->data[1]++; in model1_update()
110 LOG_DBG("New pub: n: %d t: %d", model->pub->msg->data[1], k_uptime_get_32()); in model1_update()
525 bt_mesh_model_msg_init(model->pub->msg, TEST_MESSAGE_OP_F); in msgf_publish()
526 net_buf_simple_add_u8(model->pub->msg, 1); in msgf_publish()
694 model->pub->delayable = delayable; in tx_period()
699 model->pub->fast_period = test_period[i].div > 0; in tx_period()
700 model->pub->period_div = test_period[i].div; in tx_period()
795 model->pub->retr_update = true; in tx_transmit()
796 model->pub->delayable = delayable; in tx_transmit()
882 model->pub->retr_update = true; in test_tx_cancel()
A Dtest_suspend.c54 model->pub->msg->data[1]++; in model_1_update()
55 LOG_DBG("Model 1 publishing..., n: %d", model->pub->msg->data[1]); in model_1_update()
150 bt_mesh_model_msg_init(model->pub->msg, TEST_MESSAGE_OP); in model_1_init()
151 net_buf_simple_add_u8(model->pub->msg, 1); in model_1_init()
518 TEST_CASE(tester, pub, "Scan and verify behavior of periodic publishing adv"),
A Dtest_friendship.c564 test_model->pub->addr = other_cfg.addr; in test_lpn_msg_mesh()
565 test_model->pub->cred = true; /* Use friend credentials */ in test_lpn_msg_mesh()
566 test_model->pub->ttl = BT_MESH_TTL_DEFAULT; in test_lpn_msg_mesh()
568 net_buf_simple_reset(test_model->pub->msg); in test_lpn_msg_mesh()
569 bt_mesh_model_msg_init(test_model->pub->msg, TEST_MSG_OP_1); in test_lpn_msg_mesh()
A Dmesh_test.c122 static struct bt_mesh_model_pub pub = { variable
193 BT_MESH_MODEL_CB(TEST_MOD_ID, model_op, &pub, NULL, &test_model_cb),
308 net_buf_simple_init(pub.msg, 0); in bt_mesh_test_setup()
A Dtest_lcd.c38 .pub = NULL, \
/tests/bluetooth/tester/src/
A Dbtp_mesh.c2563 &pub, &status); in config_mod_pub_get()
2588 pub.uuid = NULL; in config_mod_pub_set()
2591 pub.ttl = cp->ttl; in config_mod_pub_set()
2592 pub.period = cp->period; in config_mod_pub_set()
2599 &pub, &status); in config_mod_pub_set()
2623 pub.uuid = cp->uuid; in config_mod_pub_va_set()
2626 pub.ttl = cp->ttl; in config_mod_pub_va_set()
2634 &pub, &status); in config_mod_pub_va_set()
3277 pub.ttl = cp->ttl; in config_hb_pub_set()
3282 &pub, &status); in config_hb_pub_set()
[all …]

Completed in 31 milliseconds