Transmission format JSON
Currently transmission protocol MQTT
this
Currently, I would like to replace it with the transmission protocol AMQT or HTTP protocol.
============
What should I do for this?
please tell me.
============
Hope is Arduino.
If it is not possible, you can use other software.
However, it is necessary to be able to write software only serially like Arduino.
Program example (This program is operating normally after confirming transmission and reception on WINDOWS AZURE)
#include <stdio.h>
#include <String.h>
#include <WiFi.h>
#include "Esp32MQTTClient.h"
loop ()
{
"Omitted"
Char A [150]
snprintf (A, 150, "{\" NO1 \ ": \" 202009 \ ", \" NO2 \ ":% 4d, \" NO3 \ ":% 4d, \":% 4d, \ "NO4 \": \ "NG \"} ", tempreature, sumtime, flow, pressure, Status_);
if (Esp32MQTTClient_SendEvent (& A [0])) {}
"Omitted"
}
Communication with AMQP protocol and communication with HTTP protocol with ESP32-WROOM-32D (4MB)
-
- Posts: 29
- Joined: Sun Aug 09, 2020 2:27 am
-
- Posts: 29
- Joined: Sun Aug 09, 2020 2:27 am
-
- Posts: 29
- Joined: Sun Aug 09, 2020 2:27 am
Re: Communication with AMQP protocol and communication with HTTP protocol with ESP32-WROOM-32D (4MB)
If you have any tips or related libraries on this subject, please let me know.
Arduino Library
Can "AzureIOTprotocol_HTTP" etc. be used in this case? If you can use it with ESP32, please tell me how to use it or hints on how to use it.
Arduino Library
Can "AzureIOTprotocol_HTTP" etc. be used in this case? If you can use it with ESP32, please tell me how to use it or hints on how to use it.
-
- Posts: 29
- Joined: Sun Aug 09, 2020 2:27 am
Re: Communication with AMQP protocol and communication with HTTP protocol with ESP32-WROOM-32D (4MB)
Current status of the problem
What should I do to solve the next problem?
please tell me.
I don't know how to use AZURE IOT HUB
"AZUREIOTPROTOCOL_HTTP"
https://www.arduinolibraries.info/libra ... tocol_http
Even if I download the above, I do not understand the contents of the header file that was there
I don't know how to transfer
I don't know how to communicate via HTTP.
Contents
Even if I download it, I do not understand the contents of the following source
#ifndef AZUREIOTPROTOCOLHTTP_H
#define AZUREIOTPROTOCOLHTTP_H
The above is a program for your company's ESP32, so
I feel like your company knows how to use it,
how is it?
Official sample
iothub_ll_telemetry_sample
→ Cannot compile
It is said that blob.h does not exist
A person's GITHUB presented a solution
It is the same in practice.
From here
https://github.com/Azure/azure-iot-pal-arduino/issues/9
What should I do to solve the next problem?
please tell me.
I don't know how to use AZURE IOT HUB
"AZUREIOTPROTOCOL_HTTP"
https://www.arduinolibraries.info/libra ... tocol_http
Even if I download the above, I do not understand the contents of the header file that was there
I don't know how to transfer
I don't know how to communicate via HTTP.
Contents
Even if I download it, I do not understand the contents of the following source
#ifndef AZUREIOTPROTOCOLHTTP_H
#define AZUREIOTPROTOCOLHTTP_H
The above is a program for your company's ESP32, so
I feel like your company knows how to use it,
how is it?
Official sample
iothub_ll_telemetry_sample
→ Cannot compile
It is said that blob.h does not exist
A person's GITHUB presented a solution
It is the same in practice.
From here
https://github.com/Azure/azure-iot-pal-arduino/issues/9
Who is online
Users browsing this forum: No registered users and 38 guests