Searched refs:baTpdu (Results 1 – 2 of 2) sorted by relevance
37 uint16_t Tpdu_toByteArray(Tpdu *structTpdu, uint8_t *baTpdu) { in Tpdu_toByteArray() argument39 baTpdu[NAD_OFFSET_IN_TPDU] = structTpdu->nad; in Tpdu_toByteArray()42 baTpdu[PCB_OFFSET_IN_TPDU] = structTpdu->pcb; in Tpdu_toByteArray()45 baTpdu[LEN_OFFSET_IN_TPDU] = structTpdu->len; in Tpdu_toByteArray()50 baTpdu[DATA_OFFSET_IN_TPDU + i] = structTpdu->data[i]; in Tpdu_toByteArray()61 baTpdu[checksumOffsetInTpdu] = checksum[0]; in Tpdu_toByteArray()67 baTpdu[checksumOffsetInTpdu] = checksum[0]; in Tpdu_toByteArray()68 baTpdu[checksumOffsetInTpdu + 1] = checksum[1]; in Tpdu_toByteArray()
68 uint16_t Tpdu_toByteArray(Tpdu *structTpdu, uint8_t *baTpdu);