In order not to exceed the data length allowed by the Ledger device, split the operation into buffers of 230 bytes (max) and add them to the message to send to the Ledger
Parameters
messageToSend: any
The message to send to the Ledger device
operation: Buffer
The operation which will be chunk if its length is over 230 bytes
In order not to exceed the data length allowed by the Ledger device, split the operation into buffers of 230 bytes (max) and add them to the message to send to the Ledger