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