MQTT broker for Windows IOT Core?

I have a Raspberry Pi running Windows IOT Core, and I have a home automation application. Now I need to configure the connection between the RB pie and the ESP8266.

I looked at the MQTT protocol, but I do not want the external server to work with the MQTT broker, and I can not find a broker for Win IOT. Is there an MQTT broker for Windows IOT Core? If not, what communication protocol would you recommend for this purpose?

+4
source share
4 answers

Antonio has several options available to you in Windows IoT Core

, Node.js, Mosca (http://www.mosca.io)

Python, hbmqtt (https://github.com/beerfactory/hbmqtt)

, .NET Nuget. GnattMQ (www.nuget.org/packages/GnatMQ) .NET

+2

GnatMQTT, #, , , Window IoT

+2

, MQTT lib . :

:

  • Rpi .
  • ESP , ..
  • , ESP Rpi
  • (Rpi ESP) .

:

  • Rpi UDP- bcast - BROADCAST ip. (: 8889).
  • ESP UDP BROADCAST ip . (: 8889).
  • ESP Rpi .

:

( ASCII).

ABBBEEECCCDDDD.....DDD
A: Start Header
BBB: Sender ID
EEE: Receiver ID
CCC: Payload Byte Count
D..: Payload

OR

A|BBB|EEE|DDDDD..DDDDDD|F
A: Start Header
|: Seperator
BBB: Sender ID
EEE: Receiver ID
D..: DATA payload
F: End Header.

DHCP, IP- , ( ram, CPU ..). . , MQTT .

+1

MQTT. ActiveMQ Java , Java. Mosquitto RabbitMQ Windows.

However, if you want something even lighter than MQTT, you can also watch CoAP .

-2
source

Source: https://habr.com/ru/post/1627189/


All Articles