Skip to content

Commit

Permalink
feat: fixedconfig doc update
Browse files Browse the repository at this point in the history
https://telecominfraproject.atlassian.net/browse/WIFI-13126

Summary of changes:
- Updated documentation.

Signed-off-by: Ivan Chvets <[email protected]>
  • Loading branch information
i-chvets committed Sep 13, 2024
1 parent 132b31b commit 1d72017
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,40 @@ The device should answer:
},
"id" : <same number>
}
```

#### Controller wants the device to apply a given fixed configuration

Controller sends this command when it requires the device to apply fixed condfiguration, eg. country code. The device
should send message with `pending change` events until this version has been applied and running.

```json
{ "jsonrpc" : "2.0",
"method" : "fixedconfig",
"params" : {
"serial" : <serial number>,
"when" : Optional - <UTC time when to apply this config, 0 mean immediate, this is a suggestion>
"country" : "<country-code>"
},
}
```

The device should answer:
```json
{ "jsonrpc" : "2.0",
"result" : {
"serial": <serial number>,
"status": {
"error": 0 or an error number,
"text": <description of the error or success, eg. "Applied fixed config, rebooting">
},
"uuid": <UUID>
}
}

```


##### The Answer
The device can answer and tell the controller it has rejected certain parts of the config and potentially replaced them with
appropriate values. This could be used to allow a device to replace frequencies for the regions it is located in. The device
Expand Down

0 comments on commit 1d72017

Please sign in to comment.