Open jpo-stx opened 2 years ago
How did you get maximum TLS record size 3kb? (The allowed values for this field are: 2^9, 2^10, 2^11, and 2^12 https://www.rfc-editor.org/rfc/rfc6066)
Hi, it seems that the configuration on my side is not correct then.
But even if I would set it to the option 2^12=4096, I think that I would have the same outcome, since the EXI is of size 4252 which exceeds the maximum record size.
Maximum TLS record size is 2^14:
TLS specifies a fixed maximum plaintext fragment length of 2^14 bytes. https://www.rfc-editor.org/rfc/rfc6066
I am currently using RiseV2G EV with our own EVSE. When sending data with maximum TLS record size of i.e. 3kb and the message is therefore split up in two records, the application reads only the first record and shows the rest of the EXI data as zeros:
The application should wait for more data when it hasn't received the amount of data specified in the V2GTP header:
https://github.com/SwitchEV/RISE-V2G/blob/9abd5ae7298c969dc921238dd52b10fcb8ac26ba/RISE-V2G-EVCC/src/main/java/com/v2gclarity/risev2g/evcc/transportLayer/StatefulTransportLayerClient.java#L110