All docsStellar LinkRF bench · by Stellar Systems v0.4.0

API Reference

PL

Internal use. Low-level diagnostic access for Stellar Systems support.

GET/api/v1/pl/aux

Aux#

Internal use. Read the auxiliary diagnostic values.

Internal use. Low-level diagnostic access for Stellar Systems support.

Responses

200OKapplication/json
availablerequired

boolean

reason

string · nullable

Why no value could be read, when available is false.

regsrequired

array of AuxRegDRO

AuxRegDRO · 5 fields
namerequired

string

addrrequired

string

value

integer · int32 · nullable

≥ 0

docrequired

string

What the value means. Present even when the read failed.

error

string · nullable

Why value is absent, when it is.

Request

curl "http://192.168.2.1:8080/api/v1/pl/aux"

Response

{
  "available": true,
  "reason": "string",
  "regs": [
    {
      "name": "string",
      "addr": "string",
      "value": 0,
      "doc": "string",
      "error": "string"
    }
  ]
}
GET/api/v1/pl/interrupts

Interrupts#

Internal use. Read the pending and enabled interrupt events.

Internal use. Low-level diagnostic access for Stellar Systems support.

Responses

200OKapplication/json
statusrequired

integer · int32

≥ 0

enablerequired

integer · int32

≥ 0

bitsrequired

array of string

Request

curl "http://192.168.2.1:8080/api/v1/pl/interrupts"

Response

{
  "status": 0,
  "enable": 0,
  "bits": [
    "string"
  ]
}
POST/api/v1/pl/interrupts/ack

Ack interrupts#

Internal use. Acknowledge interrupt events and return what remains pending.

Internal use. Low-level diagnostic access for Stellar Systems support.

Request body application/jsonrequired

bitsrequired

integer · int32

≥ 0

Responses

200OKapplication/json
statusrequired

integer · int32

≥ 0

enablerequired

integer · int32

≥ 0

bitsrequired

array of string

Request

curl -X POST "http://192.168.2.1:8080/api/v1/pl/interrupts/ack" \
  -H "Content-Type: application/json" \
  -d '{
  "bits": 0
}'

Response

{
  "status": 0,
  "enable": 0,
  "bits": [
    "string"
  ]
}
GET/api/v1/pl/profile-sequencer

Profile sequencer#

Internal use. Read the state of the profile sequencer.

Internal use. Low-level diagnostic access for Stellar Systems support.

Responses

200OKapplication/json
staterequired

integer · int32

≥ 0

statusrequired

integer · int32

≥ 0

err_coderequired

integer · int32

≥ 0

profile_idrequired

integer · int32

≥ 0

state_namerequired

string

Request

curl "http://192.168.2.1:8080/api/v1/pl/profile-sequencer"

Response

{
  "state": 0,
  "status": 0,
  "err_code": 0,
  "profile_id": 0,
  "state_name": "string"
}
GET/api/v1/pl/registers/{addr}

Read register#

Internal use. Read one 32-bit word at a diagnostic address.

Internal use. Low-level diagnostic access for Stellar Systems support.

Path parameters

addrrequired

string

Address, hexadecimal with a 0x prefix

Responses

200OKapplication/json
addrrequired

integer · int32

≥ 0

valuerequired

integer · int32

≥ 0

400invalid addressapplication/json

ApiErrorDRO

Request

curl "http://192.168.2.1:8080/api/v1/pl/registers/<addr>"

Response

{
  "addr": 0,
  "value": 0
}
GET/api/v1/pl/status

Status#

Internal use. Read the platform identification and status words.

Internal use. Low-level diagnostic access for Stellar Systems support.

Responses

200OKapplication/json
global_ctrlrequired

integer · int32

≥ 0

versionrequired

integer · int32

≥ 0

build_idrequired

integer · int32

≥ 0

cfg_epochrequired

integer · int32

≥ 0

irq_statusrequired

integer · int32

≥ 0

irq_enablerequired

integer · int32

≥ 0

Request

curl "http://192.168.2.1:8080/api/v1/pl/status"

Response

{
  "global_ctrl": 0,
  "version": 0,
  "build_id": 0,
  "cfg_epoch": 0,
  "irq_status": 0,
  "irq_enable": 0
}

↑↓ to moveEnter to open