Home | History | Annotate | Download | only in tools

Lines Matching refs:receive_packet

201 void ubcsp_receive_packet (struct ubcsp_packet *receive_packet)

205 ubcsp_config.receive_packet = receive_packet;
410 ubcsp_config.receive_packet->reliable = (ubcsp_receive_header[0] & 0x80) >> 7;
416 ubcsp_config.receive_packet->channel = (ubcsp_receive_header[1] & 0x0f);
423 if (ubcsp_config.receive_packet->reliable)
430 else if (ubcsp_config.receive_packet->channel != 1)
480 receive_packet->payload[loop], crc);
491 (((crc & 0xff00) >> 8) != ubcsp_config.receive_packet->payload[ubcsp_config.receive_index]) ||
492 ((crc & 0xff) != ubcsp_config.receive_packet->payload[ubcsp_config.receive_index + 1])
561 if (ubcsp_config.receive_packet->channel == 1)
570 switch (ubcsp_which_le_payload (ubcsp_config.receive_packet->payload))
682 if (ubcsp_config.receive_packet->reliable)
699 /* Set the values in the receive_packet structure, so the caller
702 ubcsp_config.receive_packet->length = length;
703 ubcsp_config.receive_packet = 0;
713 /* Set the values in the receive_packet structure, so the caller
716 ubcsp_config.receive_packet->length = length;
717 ubcsp_config.receive_packet = 0;
1086 while ((ubcsp_config.receive_packet) && (get_uart (&value)))
1146 else if (ubcsp_config.receive_index < ubcsp_config.receive_packet->length)
1150 packet which is longer than the receive_packet->length
1153 ubcsp_config.receive_packet->payload[ubcsp_config.receive_index] = value;