raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.25k stars 838 forks source link

MQTT #1681

Closed chaari02 closed 3 months ago

chaari02 commented 3 months ago

im trying to send data to mosquitto broker but i just can't seem to find the correct way how .Is there an example or something i can use ?

lurch commented 3 months ago

@peterharperuk Should this be moved to the pico-examples repo?

peterharperuk commented 3 months ago

Yes, probably. I do have an example for mqtt but I can't push it yet.

chaari02 commented 3 months ago

Yes please add an MQTT example because im facing a problem. I can't figure out what ip adress to put to receive data through mosquitto broker

On Wed, 3 Apr 2024, 14:26 Peter Harper, @.***> wrote:

Yes, probably. I do have an example for mqtt but I can't push it yet.

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/pico-sdk/issues/1681#issuecomment-2034607585, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4ZYUJPBNRDEA665VL45DEDY3P7ORAVCNFSM6AAAAABFNX74MGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUGYYDONJYGU . You are receiving this because you authored the thread.Message ID: @.***>

peterharperuk commented 3 months ago

I suggest you do a dns lookup for the mqtt server you're trying to talk to. Closing this as you're in the wrong repo for examples