Lines Matching full:payload
132 /* This is where the receive header is stored before the payload arrives */
312 /** Check the payload of this packet, and determine which of the four **/
318 static uint32 ubcsp_which_le_payload (const uint8 *payload)
331 if (payload[octet] != ubcsp_le_buffer[loop][octet])
443 /* If this packet had a CRC, then the length of the payload
444 should be 2 less than the received size of the payload */
454 /* If we have a payload length error, send an ack in return
476 /* CRC the packet payload - without the CRC bytes */
480 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])
509 /* No CRC present, so just check the length of payload with that received */
519 /* If we have a payload length error, send an ack in return
567 /* Find which link establishment packet this payload means
570 switch (ubcsp_which_le_payload (ubcsp_config.receive_packet->payload))
677 /* We have some payload data we need to process
736 /** This allows just a header, or a header and payload to be sent **/
758 /* Setup the payload send pointer and size */
813 /** 2) Setup the payload to be sent after the header has been sent **/
822 /** 9) Place received octets into receive header or receive payload buffer **/
883 /*** We are at the end of a block - either header or payload ***/
1002 ubcsp_setup_packet ((uint8*) ubcsp_send_header, 1, ubcsp_config.send_packet->payload, ubcsp_config.send_packet->length);
1148 /* We are receiving the payload */
1153 ubcsp_config.receive_packet->payload[ubcsp_config.receive_index] = value;