Home
last modified time | relevance | path

Searched +full:dummy +full:- +full:comp (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/dts/bindings/spi/
Despressif,esp32-spi.yaml3 compatible: "espressif,esp32-spi"
5 include: [spi-controller.yaml, pinctrl-device.yaml]
11 pinctrl-0:
14 pinctrl-names:
17 half-duplex:
20 Enable half-duplex communication mode.
24 dummy-comp:
26 description: Enable dummy SPI compensation cycles
31 Enable 3-wire mode
35 dma-enabled:
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c4 * SPDX-License-Identifier: Apache-2.0
25 BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT - BT_MESH_MODEL_OP_LEN(DUMMY_VND_MOD_GET_OP)
78 /* Assert that buffer length and data corresponds with test dummy message.
85 ASSERT_EQUAL(buf->len, MAX_SDU_MSG_LEN); in data_integrity_check()
100 net_buf_simple_add_mem(&msg, buf->data, buf->len); in get_handler()
143 static const struct bt_mesh_comp comp = { variable
168 FAIL("Failed to bind Dummy vnd model to application (err %d, status %u)", err, in prov_and_conf()
191 bt_mesh_device_setup(&prov, &comp); in cli_max_len_sdu_send()
213 bt_mesh_device_setup(&prov, &comp); in srv_max_len_sdu_receive()
262 bt_mesh_device_setup(&prov, &comp); in test_srv_cfg_store()
[all …]
Dtest_provision.c4 * SPDX-License-Identifier: Apache-2.0
92 extern const struct bt_mesh_comp comp;
173 mod->keys[0] = BT_MESH_KEY_DEV_LOCAL; in mock_model_init()
174 mod->flags |= BT_MESH_MOD_DEVKEY_ONLY; in mock_model_init()
405 if (cap->oob_type & BT_MESH_STATIC_OOB_AVAILABLE) { in capabilities()
408 } else if (cap->output_actions) { in capabilities()
411 } else if (cap->input_actions) { in capabilities()
423 struct oob_auth_test_vector_s dummy = {0}; in oob_auth_set() local
427 if (memcmp(&oob_auth_test_vector[test_step], &dummy, in oob_auth_set()
488 bt_mesh_device_setup(&prov, &comp); in oob_device()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/mesh/basic/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
21 uint8_t reg_faults[MAX_FAULT] = { [0 ... (MAX_FAULT - 1)] = 0xff }; in fault_get_cur()
37 return -EINVAL; in fault_get_reg()
45 uint8_t reg_faults[MAX_FAULT] = { [0 ... (MAX_FAULT - 1)] = 0xff }; in fault_get_reg()
59 return -EINVAL; in fault_clear()
71 return -EINVAL; in fault_test()
121 static const struct bt_mesh_comp comp = { variable
172 err = bt_mesh_init(&prov, &comp); in bt_ready()
178 /* Initialize publication messages with dummy data */ in bt_ready()
/Zephyr-Core-3.5.0/samples/boards/nrf/mesh/onoff-app/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
10 * This application is specific to the Nordic nRF52840-PDK board.
94 * it is re-transmitted several times. This occurs
246 static const struct bt_mesh_comp comp = { variable
289 struct led_onoff_state *onoff_state = model->user_data; in gen_onoff_get()
292 bt_mesh_model_elem(model)->addr, onoff_state->current); in gen_onoff_get()
294 net_buf_simple_add_u8(&msg, onoff_state->current); in gen_onoff_get()
307 struct net_buf_simple *msg = model->pub->msg; in gen_onoff_set_unack()
308 struct led_onoff_state *onoff_state = model->user_data; in gen_onoff_set_unack()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcfg_cli.c4 * SPDX-License-Identifier: Apache-2.0
33 /* 2 byte dummy opcode for getting compile time buffer sizes. */
44 struct net_buf_simple *comp; member
60 LOG_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", ctx->net_idx, ctx->app_idx, in comp_data_status()
61 ctx->addr, buf->len, bt_hex(buf->data, buf->len)); in comp_data_status()
66 if (bt_mesh_msg_ack_ctx_match(&cli->ack_ctx, OP_DEV_COMP_DATA_STATUS, ctx->addr, in comp_data_status()
68 if (param->page) { in comp_data_status()
69 *(param->page) = page; in comp_data_status()
72 if (param->comp) { in comp_data_status()
73 to_copy = MIN(net_buf_simple_tailroom(param->comp), buf->len); in comp_data_status()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/
Dshell.rst30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the
43 The simplest way to provision the device is through self-provisioning. To do this the user must
49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision
51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external
68 ``mesh prov local`` command above), we can perform self-configuration through any of the
73 uart:~$ mesh models cfg get-comp
89 uart:~$ mesh test net-send 82020100
120 .. list-table:: Parameter formats
122 :header-rows: 1
124 * - Type
[all …]
/Zephyr-Core-3.5.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Ddevice_composition.c5 * SPDX-License-Identifier: Apache-2.0
80 if (ctl->light->current == ctl->light->target) { in gen_onoff_get()
84 if (ctl->transition->counter) { in gen_onoff_get()
85 calculate_rt(ctl->transition); in gen_onoff_get()
87 net_buf_simple_add_u8(msg, ctl->transition->rt); in gen_onoff_get()
101 struct net_buf_simple *msg = model->pub->msg; in gen_onoff_publish()
103 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in gen_onoff_publish()
110 if (ctl->transition->counter) { in gen_onoff_publish()
111 calculate_rt(ctl->transition); in gen_onoff_publish()
113 net_buf_simple_add_u8(msg, ctl->transition->rt); in gen_onoff_publish()
[all …]