blob: b43cafc356b3654d9ceef0ef75dbcd6facc4cae6 [file] [log] [blame]
Daniel Willmann4bcc1c32011-01-06 09:31:14 +01001The protocol for the control interface is wrapped inside the ip.access header
2with the IPAC_PROTO_OSMO protocol ID (0xee). Inside the ip.access header is
3a struct ipaccess_head_ext with protocol ID 0x00 which indicates the control
4interface.
5
6After that the actual protocol is text based:
7
8* Getting the value of a variable
9-> GET <id> <var>
10<- GET_REPLY <id> <var> <val>
11or ERROR <id> <reason>
12
13* Setting the value of a variable
14-> SET <id> <var> <val>
15<- SET_REPLY <id> <var> <val>
16or ERROR <id> <reason>
17
18* A value changes which triggers a trap
19<- TRAP <var> <val>
20
21<id> needs to be unique within a connection. '0' is not allowed