cancel
Showing results for 
Search instead for 
Did you mean: 

MQTT on SPWF04: Max Length of Published Message ?

DUrbano
Associate III
Posted on April 18, 2018 at 12:00

Hi to all,

I'm working with an SPWF04 wifi module linked on NUCLEO F411RE board, using MQTT protocol; all works perfectly but I'm wondering if there is a maximum length (in byte) for a MQTT published message. So, when I use the AT command:

AT+S.MQTTPUB=0,<topic>,[<QoS>],[<retained_flag>],<len><cr>{data}

what is the maximum length in byte of {data} ? I use the UART interface for communicate with wifi module, so I think there is in the module a buffer for this UART, and so it's impossible to send messages over a certain byte numbers...

Please, could anyone tell me if there is a really maximum data length ?

Regards

Davide Urbano

0 REPLIES 0