Anonymous

Project:Notification Board: Difference between revisions

From London Hackspace Wiki
Line 41: Line 41:


'''This is a test msg\n'''
'''This is a test msg\n'''
===Proposed new protocol===
There are 2 types of message:
:* Idle - for rolling messages, i.e. temprature, currently playing song, number of irc users
:* Alert - for one time shown messages, allows sounds
====Idle====
To format an idle message for transmitting to the arduino, you need to know the following:
* Idle message slot [1-5] - (see list below for reserving a slot)
* Time sensitive? [1-0] - If you need to bump the idle message to be the next shown, i.e. currently playing song changes
* Text of message [up to 21 chars]
Examples:
(Substituting STX, ETB and EOT for their respective ascii chars.)
So to send, Temprature: 21.5, you would send:
'''STX'''1'''ETB'''0'''ETB'''Temprature: 21.5'''EOT'''
Or to send, Iron Maiden - Prowler, time sensitive:
'''STX'''2'''ETB'''1'''ETB'''Iron Maiden - Prowler'''EOT'''


==Feature Requests==
==Feature Requests==
1,077

edits