Atmel Start and MQTT

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

the thing I would like to ask is as follows. Picking certain example for AVR-IoT (ATMEGA 4808 + ATWINC1500) one can notice that there is MQTT node on the flowchart. Which would indicate that Atmel Start (AS) can handle MQTT. On the other hand I cannot add MQTT functionality using AS (starting with fresh project). Is there a rationale for such situation? Is there an officially recommended procedure to implement MQTT libs?

 

Thanks

Sqrt(-1)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

had a quick check, but is MQTT not residing inside the ATWINC1500 and has it nothing to do with either the mega nor ASF/Start.....

first glance at a google search indicates that it is a wireless protocol to me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

meslomp wrote:
a google search indicates that it is a wireless protocol to me

It is, indeed, a protocol - not necessarily wireless.

 

http://mqtt.org/

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I’d hazard to guess Arduino has full support of the hardware, so adding mqtt is just a library. No fiddling with dodgy Start.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MQTT examples on Start make use of pahomqtt library.

That library is an implementation of mqtt protocol and relies on the winc driver.

So you need to have winc driver working and then attach the paho implementation on the top of it.

 

I was able to integrate the mqtt on the tcp_client demo for samd21, integrating it on a samD51.

ec ...