Recycle example.cydsn/Generated_Source/PSoC5/XBEE.c
uint8_t XBEE_ReadDeliveryStatus(XBEE_packet_t * packet) {
    if(XBEE_ReadApiId(packet) == XBEE_APIID_ZIGBEE_TRANSMIT_STATUS) {
        return packet->payload[5];
    } else {
        XBEE_PACKET_STATUS_REG |= XBEE_PACKET_STATUS_NOT_A_FIELD;
        return 0;
    }
}
/**
* Read Delivery Status field from a ZIGBEE RX PACKET.
* This function sets the XBEE_PACKET_STATUS_NOT_A_FIELD bit in the
* register XBEE_PACKET_STATUS_REG if a packet has not such field.
*
* @param packet Packet to read.
* @return Delivery Status field.
*/
Read Delivery Status field from a ZIGBEE RX PACKET.
This function sets the XBEE_PACKET_STATUS_NOT_A_FIELD bit in the
register XBEE_PACKET_STATUS_REG if a packet has not such field.
Read Delivery Status field from a ZIGBEE RX PACKET . This function sets the XBEE_PACKET_STATUS_NOT_A_FIELD bit in the register XBEE_PACKET_STATUS_REG if a packet has not such field .
uint8_t XBEE_ReadDeliveryStatus(XBEE_packet_t * packet) {
    if(XBEE_ReadApiId(packet) == XBEE_APIID_ZIGBEE_TRANSMIT_STATUS) {
        return packet->payload[5];
    } else {
        XBEE_PACKET_STATUS_REG |= XBEE_PACKET_STATUS_NOT_A_FIELD;
        return 0;
    }
}
uint8_t XBEE_ReadDeliveryStatus ( XBEE_packet_t * packet ) { if ( XBEE_ReadApiId ( packet ) == XBEE_APIID_ZIGBEE_TRANSMIT_STATUS ) { return packet -> payload [ 5 ] ; } else { XBEE_PACKET_STATUS_REG |= XBEE_PACKET_STATUS_NOT_A_FIELD ; return 0 ; } }
Read Delivery Status field from a ZIGBEE RX PACKET.
Read Delivery Status field from a ZIGBEE RX PACKET .