jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42803?usp=email )
Change subject: SIMTRACE: Increase USB receive buffer size ......................................................................
SIMTRACE: Increase USB receive buffer size
The maximum SIM request data can be 255 bytes. Additionally, the SIMtrace PDU header is 14 bytes. So increase the buffer to 269 bytes.
Change-Id: I05261b4a754b4892955d0b4e426bd32be261efa7 --- M library/SIMTRACE_Emulation.ttcn 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/03/42803/1
diff --git a/library/SIMTRACE_Emulation.ttcn b/library/SIMTRACE_Emulation.ttcn index c907608..7ba4b2c 100644 --- a/library/SIMTRACE_Emulation.ttcn +++ b/library/SIMTRACE_Emulation.ttcn @@ -34,9 +34,9 @@ integer usb_if_nr };
-private const octetstring c_oct261 := '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'O; +private const octetstring c_oct269 := '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'O;
-private function f_usb_submit_xfer(USB_endpoint ep, octetstring data := c_oct261, +private function f_usb_submit_xfer(USB_endpoint ep, octetstring data := c_oct269, USB_transfer_type ttype := USB_TRANSFER_TYPE_BULK, integer tout_ms := 30000) runs on USB_CT {