Skip to content

Read Subscribe message #48

Closed
Closed
@PhilC66

Description

@PhilC66

Subject of the issue

command readMQTT() take 5 seconds to give answer if no message,
take 1second if message present

Your workbench

  • What platform are you using?
  • ESP32
  • What version of the device are you using? Is there a firmware version?
  • SARA-R510M8S 02.06
  • How is the device wired to your platform?
  • How is everything being powered?
  • Are there any additional details that may help us help you?
  • use : SARA-R5_Example17_ThingSpeak_MQTT.ino
    with empty message
    17:18:26.007 -> debut:59236
    17:18:26.007 -> sendCommandWithResponse: Command: +UMQTTC=6,1
    17:18:26.007 -> sendCommandWithResponse: Response:
    17:18:26.007 -> OK
    17:18:31.006 ->
    17:18:31.006 -> readMQTT: sendCommandWithResponse err 4
    17:18:31.006 -> fin:64236

with message
17:18:26.007 -> debut:59236
17:18:26.007 -> sendCommandWithResponse: Command: +UMQTTC=6,1
17:18:26.007 -> sendCommandWithResponse: Response:
17:18:26.007 -> OK
17:18:31.006 ->
17:18:31.006 -> readMQTT: sendCommandWithResponse err 4
17:18:31.006 -> fin:64236

Steps to reproduce

Tell us how to reproduce this issue. Please post stripped down example code demonstrating your issue to a gist.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions