Help us understand the problem. What is going on with this article?

PiZero > Communication protocol v0.12 > PiZero / ESP8266

More than 3 years have passed since last update.

This article is for my entry to Pi Zero contest 2016.
https://hackaday.io/project/9526-bring-your-own-pizero-byop

format

  • Terminating with <LF>
  • 115200 8N1
    • 8 data bits
    • no parity
    • 1 stop bit

user commands

  • hello
    • command: hello,[serial number],[name]<LF>
    • return: hello,[name]<LF>
  • check
    • command: check<LF>
    • return: check,[number of messages]<LF>
  • get
    • command: get<LF>
    • return: get,[SenderName],[1st message string],[isSecret(0|1)],[postDate]<LF>
    • memo: get command takes 2000 msec wait to show the sender on 8x2 LCD before showing the message
  • post
    • command: post,[receiver],[message],[isScret(0|1)],[postDate]<LF>
    • return: post,ok<LF>
    • lcdmsg: msg,posted
  • bye
    • command: bye<LF>
    • return: bye,[name]<LF>

For the public message(isSecret==false), the message length for the post is maximum 16 (= 8x2).
For the private message(isSecret==true), the message length can have any length, because the message will not be displayed on the 8x2 LCD, but will be sent through UART.

administrator commands

  • storage
    • command: storage<LF>
    • return: storage,[current usage count]/[maximum storage],<LF>
    • e.g. storage,8/200
7of9
セブンオブナインです。Unimatrix 01の第三付属物 9の7という識別番号です。Star trek Voyagerの好きなキャラクターです。まとめ記事は後日タイトルから内容がわからなくなるため、title検索で見つかるよう個々の記事にしてます。いわゆるBorg集合体の有名なセリフから「お前たち(の知識)を吸収する。抵抗は無意味だ」。Thanks in advance.
qiitadon
Qiitadon(β)から生まれた Qiita ユーザー・コミュニティです。
https://qiitadon.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away