This article is for my entry to Pi Zero contest 2016.
https://hackaday.io/project/9526-bring-your-own-pizero-byop
directory and files
The directory and data files in the Raspberry PiZero are as follows.
- Directory: /home/pi/BYOP
- Files:
- name.txt : including your nick name
- send.txt : including messages to be sent
- rcvd.txt : including received messages
format of the files
name.txt
name.txt includes only your nick name in the format of [nick name]
.
7of9
send.txt
send.txt includes multiple messages to be sent in the format: [reciever],[message],[isSecret]
.
Message including comment mark (//
) will be ignored.
For example,
// 1234567812345678 : to check length
Vital,hello_Vital,0<LF>
Vital,39formsg,0<LF>
Vital,47,1<LF>
rcvd.txt
rcvd.txt includes multiple messages, which has been received through the message station.
The format of the rcvd.txt is [sender],[date],[time],[message],[isSecret]
.
The datetime is the time when the sender store the message to the message station.
For example,
7of9,20160223,0650,morning,0<LF>
7of9,20160223,1230,sleepy,0<LF>
7of9,20160223,1930,bye,0<LF>
7of9,20160224,0620,6022,1<LF>