Searched refs:PDU_HDR (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | provisioner_proxy.c | 62 #define PDU_HDR(sar, type) (sar << 6 | (type & BIT_MASK(6))) macro 615 net_buf_simple_push_u8(msg, PDU_HDR(SAR_COMPLETE, type)); in proxy_prov_segment_and_send() 619 net_buf_simple_push_u8(msg, PDU_HDR(SAR_FIRST, type)); in proxy_prov_segment_and_send() 625 net_buf_simple_push_u8(msg, PDU_HDR(SAR_LAST, type)); in proxy_prov_segment_and_send() 630 net_buf_simple_push_u8(msg, PDU_HDR(SAR_CONT, type)); in proxy_prov_segment_and_send()
|
A D | proxy.c | 56 #define PDU_HDR(sar, type) (sar << 6 | (type & BIT_MASK(6))) macro 1001 net_buf_simple_push_u8(msg, PDU_HDR(SAR_COMPLETE, type)); in proxy_segment_and_send() 1005 net_buf_simple_push_u8(msg, PDU_HDR(SAR_FIRST, type)); in proxy_segment_and_send() 1011 net_buf_simple_push_u8(msg, PDU_HDR(SAR_LAST, type)); in proxy_segment_and_send() 1016 net_buf_simple_push_u8(msg, PDU_HDR(SAR_CONT, type)); in proxy_segment_and_send()
|
Completed in 5 milliseconds