2026-03-05 5:35 AM
On ST87M01 current version 2.7.0 I suspect that everything that goes in module via "AT" interface passes through filter which removes spaces and sets everything lowercase. This is OK for AT commands, but it mingles with user data that is passed, for example topic and message in mqttpub command, which is unexpected behavior. For example:
at#mqttpub=Topic1,This is a testexpected topic is "Topic1" but you get "topic1"
expected message is "This is a test" but you get "thisisatest".
2026-04-01 7:53 AM
Hi Mzina.1,
to avoid that, you can put the parameter string between double quotes ("") or quote (''). So, in your case, simply:
AT#MQTTPUB= "Topic 1", "This is a test"
or
AT#MQTTPUB= 'Topic 1', 'This is a test'
In this way you can insert any space, commas and quotes withing your string.
I hope this may help you.
Bye
Andrea