Assistance with MQTT Embedded Client using MSP432 micro

已关闭 已发布的 7 年前 货到付款
已关闭 货到付款

Need assistance importing MQTT functionality to the MSP432 micro-controller using the ESP8266 wifi module.

Referencing Paho Embedded-C architecture, all the foundations are there but I'm getting strange results from the supplied library functions. Specifically, serializing the data for connecting, sending / receiving. The examples are written for mbed, Arduino, Linux, or ESP8266 specific micro-controller and the library itself is quite portable, but I'm getting strange results on my end.

I've been studying MQTT documentations (HiveMQ, Mosquitto, various slides) for a few days now with no luck, still confused on the final format of the message over TCP.

My current progress:

MSP432 wired to ESP 8266, successfully opens a TCP socket with MQTT broker.

Connection is received by my cloud broker server logs

Minimum goal: achieve full understanding of the MQTT packet serialization, I'll be breaking down source code in the mean time. Even hard-coding messages would suffice in the mean time, so if you have a functioning MQTT system i would find value in an example send broken down by:

1) Raw message information so I could write my own libraries to handle it.

2) Serialized data, with each component of the raw-data identified.

Best Case: Have an experience person who happens to own the MSP432 and ESP8266 micro walk me through the steps to set it up correctly

Acceptable: Anyone with experience using MQTT from a micro-controller, and can help me piece together the format and give me some clarification. Anyone who has the infrastructure ready may be able to set a break-point in their code and look at the memory location and feed me the pieces in format.

Is the final sent TCP packet just a long string with form:

Byte:1 = Message type DUP QoS level RETAIN

Byte:2 = Length

Byte:3 = | -------------------------- |

...... | Variable Header |

Byte:n | _____ info_______ |

Byte:n+1 | ----------------------------|

.............. | PAYLOAD | << Encoded in UTF-8? What are the implications of this?

Byte:m |__________________|

So my final TCP packet would be like:

ESP8266SendTCP(Byte1+Byte2+....Byte M)

then wait for a CONNACK?

So I could simply piece together a make-shift library for my application to get me started?

C 编程 MQTT PHP 软件构架

项目ID: #11837478

关于项目

8个方案 远程项目 活跃的7 年前

有8名威客正在参与此工作的竞标,均价$160/小时

mechatronicsengr

Hi, I hope you are doing well. I have experience in MQTT communication using microcontroller. I have read your project description and I would like to discuss it in more details. Looking Forward, Khawaja

$210 USD 在3天内
(16条评论)
5.2
rockoct7

Let me explain How I work: - To provide excellent service, with timely, accurate and professional results. - Daily updates and feedback’s regarding the project. - I will be available anytime for your work. - I wo 更多

$155 USD 在3天内
(6条评论)
3.2
ahmad5857

Hi sir, We are very experienced in ESP8266 wifi chip in any mode. MQTT protocol is well understood. I have ready solution for you! Lets work together. i am bidding low and now looking forward to hear from you sir 更多

$120 USD 在3天内
(3条评论)
2.6
CoderField

Hi, I’m dedicated professional Web and Desktop Programmer & Developer and freelancer only. I have been working with challenge and hope to improve future plan with good network every client. If any client want to get 更多

$155 USD 在3天内
(3条评论)
2.4