Home
last modified time | relevance | path

Searched refs:fcs (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Drfcomm.c115 fcs = rfcomm_crc_table[fcs ^ *data++]; in rfcomm_calc_fcs()
128 fcs = rfcomm_crc_table[fcs ^ *data++]; in rfcomm_check_fcs()
132 fcs = rfcomm_crc_table[fcs ^ recvd_fcs]; in rfcomm_check_fcs()
619 u8_t fcs; in rfcomm_send_msc() local
640 u8_t fcs; in rfcomm_send_rls() local
660 u8_t fcs; in rfcomm_send_rpn() local
676 u8_t fcs; in rfcomm_send_test() local
691 u8_t fcs; in rfcomm_send_nsc() local
707 u8_t fcs; in rfcomm_send_fcon() local
720 u8_t fcs; in rfcomm_send_fcoff() local
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Ddemand.c66 int fcs; variable
99 fcs = PPP_INITFCS; in demand_conf()
164 fcs = PPP_INITFCS; in demand_discard()
244 && framelen > 2 && fcs == PPP_GOODFCS) {
252 fcs = PPP_INITFCS;
269 fcs = PPP_FCS(fcs, c);
A Dpppos.c75 …t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs);
76 static err_t pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs);
134 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
149 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ ppp_get_fcs(((fcs) ^ (c)) & 0xff)) argument
803 pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs) in pppos_output_append() argument
821 if (fcs) { in pppos_output_append()
822 *fcs = PPP_FCS(*fcs, c); in pppos_output_append()
837 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) in pppos_output_last() argument
842 err = pppos_output_append(pppos, err, nb, ~(*fcs) & 0xFF, 1, NULL); in pppos_output_last()
843 err = pppos_output_append(pppos, err, nb, (~(*fcs) >> 8) & 0xFF, 1, NULL); in pppos_output_last()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dcrypto.c775 u8_t fcs = 0xff; in bt_mesh_fcs_calc() local
778 fcs = crc_table[fcs ^ *data++]; in bt_mesh_fcs_calc()
781 BT_DBG("fcs 0x%02x", 0xff - fcs); in bt_mesh_fcs_calc()
783 return 0xff - fcs; in bt_mesh_fcs_calc()
790 u8_t fcs = 0xff; in bt_mesh_fcs_check() local
793 fcs = crc_table[fcs ^ *data++]; in bt_mesh_fcs_check()
796 return crc_table[fcs ^ received_fcs] == 0xcf; in bt_mesh_fcs_check()
A Dprov.c172 u8_t fcs; /* Expected FCS value */ member
1433 if (!bt_mesh_fcs_check(plink.rx.buf, plink.rx.fcs)) { in prov_msg_recv()
1534 plink.rx.fcs = net_buf_simple_pull_u8(buf); in gen_prov_start()
1537 plink.rx.fcs); in gen_prov_start()
A Dprovisioner_prov.c202 u8_t fcs; /* Expected FCS value */ member
2880 if (!bt_mesh_fcs_check(link[i].rx.buf, link[i].rx.fcs)) { in prov_msg_recv()
3009 link[i].rx.fcs = net_buf_simple_pull_u8(buf); in gen_prov_start()
3012 START_LAST_SEG(rx->gpc), link[i].rx.buf->len, link[i].rx.fcs); in gen_prov_start()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/platform/
A Dcrc16btx.h64 uint16_t btxfcs(uint16_t fcs,
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/
A Dbluetooth.h273 uint8_t fcs[2]; member

Completed in 24 milliseconds