Home
last modified time | relevance | path

Searched refs:BT_MESH_MIC_SHORT (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dlarge_comp_data_srv.c35 BT_MESH_MIC_SHORT)
81 msg_space = net_buf_simple_tailroom(&rsp) - BT_MESH_MIC_SHORT; in handle_large_comp_data_get()
137 rsp.size -= BT_MESH_MIC_SHORT; in handle_models_metadata_get()
144 rsp.size += BT_MESH_MIC_SHORT; in handle_models_metadata_get()
Dblob.h25 (BT_MESH_MODEL_OP_LEN(BT_MESH_BLOB_OP_CHUNK) + 2 + BT_MESH_MIC_SHORT)
Dbrg_cfg_srv.c155 if (net_buf_simple_tailroom(&msg) < 3 + BT_MESH_MIC_SHORT) { in bridged_subnets_get()
245 if (net_buf_simple_tailroom(&msg) < 5 + BT_MESH_MIC_SHORT) { in bridging_table_get()
Ddfu_srv.c19 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
23 BT_MESH_MODEL_OP_LEN(BT_MESH_DFU_OP_UPDATE_INFO_STATUS) + BT_MESH_MIC_SHORT)
166 if (net_buf_simple_tailroom(&rsp) + BT_MESH_MIC_SHORT < entry_len) { in handle_info_get()
Dblob_srv.c19 #define MTU_SIZE_MAX (BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT)
31 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
35 BT_MESH_MODEL_OP_LEN(BT_MESH_BLOB_OP_BLOCK_REPORT) + BT_MESH_MIC_SHORT)
41 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
Ddfd_srv.c26 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
34 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
41 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
48 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
182 for (i = 0; i < cnt && net_buf_simple_tailroom(&rsp) >= 5 + BT_MESH_MIC_SHORT; i++) { in handle_receivers_get()
Daccess.c279 if (net_buf_simple_tailroom(buf) < (model_size + BT_MESH_MIC_SHORT)) { in metadata_add_model()
322 + BT_MESH_MIC_SHORT)) { in bt_mesh_metadata_get_page_0()
383 if (net_buf_simple_tailroom(buf) < ((elem_size - *offset) + BT_MESH_MIC_SHORT)) { in comp_add_elem()
619 if (net_buf_simple_tailroom(buf) < ((elem_size - offset) + BT_MESH_MIC_SHORT)) { in bt_mesh_comp_data_get_page_1()
677 if (net_buf_simple_tailroom(buf) < ((elem_size - offset) + BT_MESH_MIC_SHORT)) { in bt_mesh_comp_data_get_page_2()
1635 if (pub->msg->len + BT_MESH_MIC_SHORT > BT_MESH_TX_SDU_MAX) { in bt_mesh_model_publish()
Dblob_cli.c36 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
40 BT_MESH_MODEL_OP_LEN(BT_MESH_BLOB_OP_BLOCK_REPORT) + BT_MESH_MIC_SHORT)
46 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
Dtransport.c49 #define APP_MIC_LEN(aszmic) ((aszmic) ? BT_MESH_MIC_LONG : BT_MESH_MIC_SHORT)
657 if (msg->len > BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT) { in bt_mesh_trans_send()
662 if (net_buf_simple_tailroom(msg) < BT_MESH_MIC_SHORT) { in bt_mesh_trans_send()
Ddfu_cli.c33 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
37 BT_MESH_MODEL_OP_LEN(BT_MESH_DFU_OP_UPDATE_INFO_STATUS) + BT_MESH_MIC_SHORT)
Dcfg_srv.c69 sdu.size -= BT_MESH_MIC_SHORT; in dev_comp_data_get()
71 sdu.size += BT_MESH_MIC_SHORT; in dev_comp_data_get()
1250 2 + BT_MESH_MIC_SHORT) { in mod_sub_list_visitor()
Dfriend.c426 in.len -= BT_MESH_MIC_SHORT; in unseg_app_sdu_decrypt()
444 sdu.len -= BT_MESH_MIC_SHORT; in unseg_app_sdu_encrypt()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmsg.h30 #define BT_MESH_MIC_SHORT 4 macro
51 (BT_MESH_MODEL_OP_LEN(_op) + (_payload_len) + BT_MESH_MIC_SHORT)
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_op_agg.c46 BUILD_ASSERT(OP_AGG_STATUS_ACCESS_PAYLOAD == (BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT));
Dtest_sar.c25 BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT - BT_MESH_MODEL_OP_LEN(DUMMY_VND_MOD_GET_OP)
Dtest_lcd.c32 BT_MESH_MIC_SHORT) /* 378 bytes */
Dtest_brg.c69 BT_MESH_MIC_SHORT) <= BT_MESH_RX_SDU_MAX,
72 BT_MESH_MIC_SHORT) <= BT_MESH_TX_SDU_MAX,
Dmesh_test.c452 (flags & LONG_MIC) ? BT_MESH_MIC_LONG : BT_MESH_MIC_SHORT; in bt_mesh_test_send_async()
Dtest_transport.c132 {.len = BT_MESH_TX_SDU_MAX - BT_MESH_MIC_SHORT, .flags = 0},
Dtest_blob.c147 ASSERT_EQUAL(caps->mtu_size, BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT); in blob_cli_caps()
1528 ASSERT_EQUAL(BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT, blob_srv.state.mtu_size); in srv_check_reboot_and_continue()