Modify the communication protocol to allow messages longer than 260 bytes, and not using the APDU protocol #12
Labels
enhancement
New feature or request
Milestone
We will often need to send messages that are longer than the 260 bytes allowed by the APDU protocol.
As the APDU protocol is an abstraction provided by client libraries, it is possible to build apps that have a custom message size. In C apps, one does that by defining the value of
CUSTOM_IO_APDU_BUFFER_SIZE
in theMakefile
. Supporting this in the rust sdk probably requires some change in the build script ofledger_secure_sdk_sys
.This also means not being able to use the current
io::comm
from the Rust sdk; either we use lower levelledger_secure_sdk_sys
methods, or build an additional feature.Note that this is only a matter of convenience, as the SE is limited to 260-bytes per message anyway, so longer messages would be split under the hood.
The text was updated successfully, but these errors were encountered: