source: roaraudio/doc/proto @ 5878:3b92b0d6ef9b

Last change on this file since 5878:3b92b0d6ef9b was 1658:585e0fd27206, checked in by phi, 15 years ago

started with a drafr for a byte orented roar protocol

File size: 1.6 KB
Line 
1RoarAudio Protocol Version 0:
2
3Message = Header | Data
4Request = Message
5Respone = Message
6
7Command = Request | Resonse
8
9Version 0 Header:
10 0                   1                   2                   3
11 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1| Byte
12+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
13| Version       | Command       | Stream ID                     | 0-3
14+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
15| Stream Possition                                              | 4-7
16+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17| Message Data Length           |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX| 8-9
18+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
19
20---- DRAFT ----
21Version 1 Header: Byte Oriented Protocol:
22 0                   1                   2                   3
23 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1| Byte
24+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
25| Version       | Command       | Flags         | Stream ID     | 0-
26+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27| Stream ID     | Stream POS    | Stream POS                    |
28+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
29| Stream POS    | Msg Data Len  | Msg Data Len  |XXXXXXXXXXXXXXX|
30+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
31
32Flags:
330 Stream ID field exists
341 Stream POS field exists
352 Message Length field exists
363 Stream ID field is one byte long
374 Stream POS field is one byte long and
38  does not represent abselut but increment values
395 Message Data Length field is one byte long
406
417
Note: See TracBrowser for help on using the repository browser.