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

PiZero > directory and data file format > v0.1

Last updated at Posted at 2016-02-24

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].

name.txt
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,

send.txt
//    1234567812345678 : to check length
Vital,hello_Vital,0<LF>
Vital,39formsg,0<LF>
Vital,47,1<LF>

about 47

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,

rcvd.txt
7of9,20160223,0650,morning,0<LF>
7of9,20160223,1230,sleepy,0<LF>
7of9,20160223,1930,bye,0<LF>
7of9,20160224,0620,6022,1<LF>
0
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
0
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?