Is there a limit to the amount of traffic per request on the Spresense LTE expansion board?

Asked 2 years ago, Updated 2 years ago, 64 views

I have a question about the Spresense LTE expansion board.

After HTTP POSTing binary data in the Arduino IDE development environment, the following error occurred with file size of 4 kilobytes and 5 kilobytes:

up_assert:Assertion failed at file:irq/irq_unexpectedisr.line:51 task:Idle Task

Is there a limit to the amount of communication per request for LTE expansion board?

spresense

2022-09-30 19:49

2 Answers

Is there no problem if the file size is less than 4 kilograms?

The Asserion listed is an exception interrupt error, so it is suspected that a watchdog timer (if you are using it) or a program corruption caused by a space over, for example, when a program locks up.

I don't have enough information to get advice, so I think it's better to include information including programs and Assertion dumps.


2022-09-30 19:49

This question assumes questions about Sony LTE-M expansion boards.There is also an LTE expansion board on Sakura.io.

I found that there was a limit per mqttClient.write() once when I tried to send >200KB images on MQTT.Therefore, the data had to be divided into multiple write().
Probably related to the following config:

CONFIG_CXD56_DMAC_SPI4_TX_MAXIZE=2064
CONFIG_CXD56_DMAC_SPI4_RX_MAXSIZE=2064

Applies to HTTP POST as well as MQTT.
If you repile the Arduino SDK, you can raise it.

However, if the limit is exceeded, there is no crash.Assertion has other reasons.


2022-09-30 19:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.