Home
last modified time | relevance | path

Searched refs:START_LAST_SEG (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dprov.c79 #define START_LAST_SEG(gpc) (gpc >> 2) macro
1563 START_LAST_SEG(rx->gpc), link.rx.buf->len, link.rx.fcs); in gen_prov_start()
1571 if (START_LAST_SEG(rx->gpc) > START_LAST_SEG_MAX) { in gen_prov_start()
1572 BT_ERR("Invalid SegN 0x%02x", START_LAST_SEG(rx->gpc)); in gen_prov_start()
1584 if (START_LAST_SEG(rx->gpc) > 0 && link.rx.buf->len <= 20U) { in gen_prov_start()
1590 link.rx.seg = (1 << (START_LAST_SEG(rx->gpc) + 1)) - 1; in gen_prov_start()
1591 link.rx.last_seg = START_LAST_SEG(rx->gpc); in gen_prov_start()
Dprovisioner_prov.c81 #define START_LAST_SEG(gpc) (gpc >> 2) macro
3001 START_LAST_SEG(rx->gpc), link[idx].rx.buf->len, link[idx].rx.fcs);
3010 if (START_LAST_SEG(rx->gpc) > START_LAST_SEG_MAX) {
3011 BT_ERR("Invalid SegN 0x%02x", START_LAST_SEG(rx->gpc));
3023 if (START_LAST_SEG(rx->gpc) > 0 && link[idx].rx.buf->len <= 20) {
3029 link[idx].rx.seg = (1 << (START_LAST_SEG(rx->gpc) + 1)) - 1;
3030 link[idx].rx.last_seg = START_LAST_SEG(rx->gpc);