Professional Documents
Culture Documents
{{{
{
"target":"openbts",
"command":"config",
"action":"update",
"key":"GSM.Radio.C0",
"value":"151"
}
}}}
=== Response ===
{{{
{
"code":204
}
}}}
== Update Configuration Value - Invalid Key and Valid Value ==
=== Request ===
{{{
{
"target":"openbts",
"command":"config",
"action":"update",
"key":"THISKEYISINVALID",
"value":"151"
}
}}}
=== Response ===
{{{
{
"code":404
}
}}}
== Update Configuration Value - Valid Key and Invalid Value ==
=== Request ===
{{{
{
"target":"openbts",
"command":"config",
"action":"update",
"key":"GSM.Radio.C0",
"value":"999"
}
}}}
=== Response ===
{{{
{
"code":406
}
}}}
== Read Version ==
=== Request ===
{{{
{
"target":"openbts",
"command":"version"
}
}}}
=== Response ===
{{{
{
"code":200,
"data":"release 4.0.0.8025+GPRS C built Mar 19 2014 rev8026 CommonLibs:r
ev8010 "
}
}}}
== Start a Timed PCAP Trace ==
Note: this command is in development as of R4.0
=== Request ===
{{{
{
"target":"openbts",
"command":"trace",
"action":"start",
"filename":"/tmp/mytrace.pcap",
"interface":"any",
"filter":"udp port 5060",
"seconds":"10"
}
}}}
=== Response ===
{{{
{
"code":204
}
}}}