Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dtesting.c34 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst, in bt_test_mesh_net_recv() argument
41 cb->mesh_net_recv(ttl, ctl, src, dst, payload, in bt_test_mesh_net_recv()
A Dtesting.h13 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dtransport.c107 u8_t seg_n:5, ctl:1, in_use:1, obo:1; member
950 if (rx->ctl) { in trans_unseg()
1106 static inline u8_t seg_len(bool ctl) in seg_len() argument
1108 if (ctl) { in seg_len()
1115 static inline bool sdu_len_is_ok(bool ctl, u8_t seg_n) in sdu_len_is_ok() argument
1166 if (rx->ctl != net_rx->ctl) { in seg_rx_is_valid()
1188 rx->ctl = net_rx->ctl; in seg_rx_alloc()
1288 if (!sdu_len_is_ok(net_rx->ctl, seg_n)) { in trans_seg()
1320 rx->buf.len = seg_n * seg_len(rx->ctl) + buf->len; in trans_seg()
1330 if (buf->len != seg_len(rx->ctl)) { in trans_seg()
[all …]
A Dnet.c812 const bool ctl = (tx->ctx->app_idx == BT_MESH_KEY_UNUSED); in bt_mesh_net_encode() local
819 if (ctl && net_buf_simple_tailroom(buf) < 8) { in bt_mesh_net_encode()
827 BT_DBG("src 0x%04x dst 0x%04x ctl %u seq 0x%06x", tx->src, tx->ctx->addr, ctl, bt_mesh.seq); in bt_mesh_net_encode()
844 if (ctl) { in bt_mesh_net_encode()
1169 … rx->ctx.recv_ttl, rx->ctl, rx->ctx.recv_dst, rx->ctx.addr, net_buf_trace.addr[5], in bt_mesh_net_relay()
1174 BT_DBG("TTL %u CTL %u dst 0x%04x packet ", rx->ctx.recv_ttl, rx->ctl, rx->ctx.recv_dst); in bt_mesh_net_relay()
1177 BT_DBG("TTL %u CTL %u dst 0x%04x packet ", rx->ctx.recv_ttl, rx->ctl, rx->ctx.recv_dst); in bt_mesh_net_relay()
1288 rx->ctl = CTL(buf->data); in bt_mesh_net_decode()
A Dfriend.c61 u8_t ttl:7, ctl:1; member
345 if (info->ctl && TRANS_CTL_OP(sdu->data) == TRANS_CTL_OP_FRIEND_OFFER) { in create_friend_pdu()
358 if (info->ctl) { in create_friend_pdu()
404 info.ctl = 1; in encode_friend_ctl()
1116 info.ctl = rx->ctl; in friend_lpn_enqueue_rx()
1156 info.ctl = (tx->ctx->app_idx == BT_MESH_KEY_UNUSED); in friend_lpn_enqueue_tx()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_bin_cmds.c38 static uint16_t mesh_adv_ctl(uint8_t ctl, uint8_t *resp) in mesh_adv_ctl() argument
41 resp[1] = ctl; in mesh_adv_ctl()
43 switch (ctl) in mesh_adv_ctl()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/host/
A Dtesting.h12 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/
A Ddual_mic_denoise.h67 int dual_mic_denoise_ctl(int ctl, void *ptr);
A Dspeech_peak_detector.h36 int speech_peak_detector_ctl(SPEECH_PEAK_DETECTOR_STATE_T *inst, int ctl, void *ptr);
A Dspeech_ns.h36 int32_t speech_ns_ctl(SpeechNsState *st, int32_t ctl, void *ptr);
A Dspeech_dc_filter.h35 int32_t speech_dc_filter_ctl(SpeechDcFilterState *st, int32_t ctl, void *ptr);
A Dspeech_aec.h42 int32_t speech_aec_ctl(SpeechAecState *st, int32_t ctl, void *ptr);
A Dspeech_mics_calibration.h62 int speech_mics_calibration_ctl(SPEECH_MICS_CALIBRATION_STATE_T *inst, int ctl, void *ptr);
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dtesting.h36 void (*mesh_net_recv)(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dnet.h302 ctl:1, /* Network Control */ member

Completed in 76 milliseconds