Increase TX_DATA.request TB buffer size to be allocated in the stack with 2MB, fix compute_PDU_Length to not truncate value and fix packing procedure to use buffer size as the upper limit instead of hardcoded value
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
// Extension to the generic structures for single tlv values
|
||||
|
||||
typedef struct {
|
||||
/// Value: 0 -> 1, 0: Payload is carried directly in the value field, 1: Pointer to payload is in the value field
|
||||
uint16_t tag;
|
||||
/// Length of the actual payload in bytes, without the padding bytes Value: 0 → 65535
|
||||
uint16_t length;
|
||||
/// Value: 0 -> 1, 0: Payload is carried directly in the value field, 1: Pointer to payload is in the value field
|
||||
uint16_t tag;
|
||||
/// Length of the actual payload in bytes, without the padding bytes Value: 0 → 0xFFFFFFFF
|
||||
/// Note: This change to uint32_t is a deviation from version 10.02 of the SCF222 standard
|
||||
uint32_t length;
|
||||
union {
|
||||
uint32_t *ptr;
|
||||
uint32_t direct[38016];
|
||||
|
||||
Reference in New Issue
Block a user