Hello, Guys.
I just wondered why max UART exchange when we receive mqtt buffer that is let's say 1707 bytes is splited bu uart in chunks max of 120 bytes.
Is there some UART transfer limitation in serial LTE modem?
Hello, Guys.
I just wondered why max UART exchange when we receive mqtt buffer that is let's say 1707 bytes is splited bu uart in chunks max of 120 bytes.
Is there some UART transfer limitation in serial LTE modem?
Hi,
Which SDK version are you using?
Is the problem that the device is sending 120 byte chunks over the air, or that when you receive a message, it is transmitted in 120 byte chunks on the UART?
Do you have any logs?
(The SLM sends logs over RTT by default. You can enable more logging by setting CONFIG_SLM_LOG_LEVEL_DBG=y in your prj.conf)
Best regards,
Didrik
SDK - 2.1.0
It is transmitted in 120 byte chunks on the UART.
I use external MCU to control it so no logs output.
Like I said in my previous reply, the SLM sends logs over RTT by default, which goes over the debugger interface. Are you able to connect a debugger to the nRF9160, and get the RTT logs?
Here is some logs:
ESP:LTE: Bytes received 120
ESP:LTE: Responce: 000000000000000000000000000000000000000000000000000000000000000000000","3C00550000000000000000000000C409C4095C1294110000
ESP:LTE: total_length + xReceivedBytes: 827
ESP:LTE: topic_length + message_length + restBytes 1780
ESP:LTE: Final result not found
ESP:LTE: ok 0
ESP:LTE: Bytes received 120
ESP:LTE: Responce: 00000000000000006400000000000000A00F00000000E02EA406000064000000000020003C003C001E0001006700000000000000000000000100C201
ESP:LTE: total_length + xReceivedBytes: 947
ESP:LTE: topic_length + message_length + restBytes 1780
ESP:LTE: Final result not found
ESP:LTE: ok 0
ESP:LTE: Bytes received 120
ESP:LTE: Responce: 000000000000000000000000000000000000000000000000000000000000000000000000","5F005500C800A00FA00FC8002C01D007D0075C1294115
ESP:LTE: total_length + xReceivedBytes: 1067
ESP:LTE: topic_length + message_length + restBytes 1780
ESP:LTE: Final result not found
These are the logs from the host, not the nRF9160.
Can you get me the logs from the Serial LTE Modem application running on the nRF9160?