aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/doc/control-interface.txt
blob: b43cafc356b3654d9ceef0ef75dbcd6facc4cae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The protocol for the control interface is wrapped inside the ip.access header
with the IPAC_PROTO_OSMO protocol ID (0xee). Inside the ip.access header is
a struct ipaccess_head_ext with protocol ID 0x00 which indicates the control
interface.

After that the actual protocol is text based:

* Getting the value of a variable
-> GET <id> <var>
<- GET_REPLY <id> <var> <val>
or ERROR <id> <reason>

* Setting the value of a variable
-> SET <id> <var> <val>
<- SET_REPLY <id> <var> <val>
or ERROR <id> <reason>

* A value changes which triggers a trap
<- TRAP <var> <val>

<id> needs to be unique within a connection. '0' is not allowed