0
0

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 5 years have passed since last update.

PiZero > message data structure v0.7

Last updated at Posted at 2016-02-18

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

The message has the following structure:

item type description example
senderSerial String serial number of message receiver 000000000000000d
senderName String nick name of the message sender 7of9
receiverName String nick name of the message receiver Vitra
message String message text. Up to 16 characters for public message, any length for the private message meet at the Arctic
isSecret bool secret message or not 1
postDate String datetime of the message post in [yyyymmdd] 20160309

TBD:

  • S/N may not be necessary. Moreover, considering the security, it's good to remove S/N
  • Or to avoid mistake in checking up the receiver with the same nick names, it may be useful to use S/N
  • idea: do not provide public function to show the serial number, but to use the serial inside
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?