3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Raspberry Pi と Mac で MQTT

Posted at

概要

MQTTについて 理解する必要がでてきたので,ラズパイとMacで通信してイメージを掴みたい

Raspberry Pi

  • ラズパイにmosquiito と mosquiito_clientsをインストールした
  • Man に mosquittoをインストールした
  • ラズパイで Brokerを起動
  • Macでmosquitto_sub -h 192.168.11.13 -t tp1/test を起動(受信の準備)
  • ラズパイで mosquitto_pub -h localhost -t tp1/test -m Hello を実行(データの送信)
  • Macのターミナルで受信を Hellow 確認

基にしたサイト

私のYouTubeチャンネル

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?