Hi.
After a few years, I finally decided to update the Theengs OpenMQTTGateway versions (from 0.9.2 to 1.8.1) and the Theengs Decoder (from 0.6.2 to 1.9.9) in my environmental control unit ( Custom BLE beacon: Demultiplexing and publishing of multiple sensors in "manufacturerdata" parameter ).
My development environment is PlatformIO.
After recreating the personal BLE decoder in Theengs Decoder, as explained in the previous link, everything works fine, except that, after reprogramming or resetting, the ESP32 takes more than 5 minutes before it starts transmitting MQTT messages. After that, everything works fine, with messages transmitted approximately once every second. The BLE is configured in continuous scannig with the following parameters:
{
âbleconnectâ: false,
âintervalâ: 10,
âadaptivescanâ: false,
âintervalactsâ: 10,
âintervalcnctâ: 3600000,
âscandurationâ: 1000,
âhasspresenceâ: false,
âprestopicâ: âpresence/â,
âpresuseuuidâ: false,
âminrssiâ: -100,
âextDecoderEnableâ: false,
âextDecoderTopicâ: âundecodedâ,
âpubuuid4topicâ: false,
âignoreWBlistâ: false,
âforcepscnâ: false,
âtskstckâ: 2324,
âcrstckâ: 3016,
âenabledâ: true,
âscnctâ: 2776,
âonlysensorsâ: false,
ârandommacsâ: false,
âfilterConnectableâ: false,
âpubadvdataâ: false,
âpresenceawaytimerâ: 120000,
âmovingtimerâ: 60000
}
Could you help me understand the reason for this latency on the first startup?
Thanks.
Tommaso