...
- The service should be running on startup, but in case it is not, the service can be found at /etc/init.d/S99wirelessbridgecommissioning S85wirelessbridgecommissioning and the executable can be found at /usr/sbin/wireless_bridge_commissioning.
- The configuration, and web gui files used by the wireless_bridge_commissioning executable can be found at /opt/commissioning/
...
Commissioning Usage
State Diagram
Drawio |
---|
baseUrl | https://mmbnetworks.atlassian.net/wiki |
---|
diagramName | WBC State Diagram |
---|
contentId | 378110028 |
---|
width | 641.5237862723216 |
---|
zoom | 1 |
---|
pageId | 103022659contentId | 655622230 |
---|
simple | 0 |
---|
zoom | 1 |
---|
inComment | 0 |
---|
pageId | 555581807 |
---|
diagramDisplayName | WBC State Diagram |
---|
lbox | 1 |
---|
contentVer | 1 | height2 |
---|
764 | revision | 143 |
---|
|
Drawio |
---|
baseUrl | https://mmbnetworks.atlassian.net/wiki |
---|
diagramName | Untitled WBC State Diagram.xml |
---|
contentIdwidth | 377913403641.5237862723216 |
---|
widthlinks | |
---|
665tbstyle | | zoomheight | 1 | pageId | 103022659764 |
---|
|
Drawio |
---|
contentId | 603226344 |
---|
simple | 0 |
---|
zoom | 1 |
---|
pageId | 555581807 |
---|
diagramDisplayName | Untitled Diagram.xml |
---|
lbox | 1 |
---|
contentVer | 1 |
---|
revision | 2 |
---|
baseUrl | https://mmbnetworks.atlassian.net/wiki |
---|
diagramName | Untitled Diagram.xml |
---|
width | 665 |
---|
links | |
---|
tbstyle | |
---|
height | 880 |
---|
revision | 1 |
---|
|
Bridge Commissioning Web GUI
- The commissioning gui GUI can be reached at 193192.167168.110.1:8080/commissioning.html
- Click the WIFI SCAN button at the top
- This will cause the service to perform a scan for all 2.4 Ghz GHz networks
- List all found networks with their associated SSID, Frequency, RSSI, and Security types
- Input the PASSWORD into the password field at the bottom of the form
- Currently, there is no mechenism mechanism to support join a network with no security
- Press theĀ WIFI ASSOCIATE button at the bottom of the form
- This will cause the service to attempt to join the selected network
- The Gateway's IP Address will be returned in green on success
...
We can ignore all non b/g/n and all non 2.4Ghz 4GHz results
Code Block |
---|
firstline | 1 |
---|
title | JSON Format |
---|
linenumbers | true |
---|
|
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Wifi Scan Results",
"description": "Result of Wifi Scan and Wifi Networks found",
"type": "object",
"properties": {
"result": {
"description": "Did the Wifi Scan succeed or fail?",
"type": "boolean"
},
"found": {
"description": "List of Wifi Networks found",
"type": "array",
"items": {
"type": "object",
"properties": {
"ssid": {
"description": "Name of Wifi Network",
"type": "string"
},
"security": {
"description": "The security type of the Wifi Network",
"type": "string"
},
"rssi": {
"description": "The signal strength",
"type": "integer"
},
"frequency": {
"description": "The frequency of the Wifi Network",
"type": "string",
"default": "2.4",
"enum": [
"2.4",
"3.6",
"4.9",
"5",
"5.9"
]
}
},
"required": [
"ssid",
"security",
"rssi"
]
}
}
},
"required": [
"result"
],
"additionalProperties": false
} |
...
Code Block |
---|
firstline | 1 |
---|
title | JSON Format |
---|
linenumbers | true |
---|
|
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Wifi Scan Results",
"description": "Passing Opaque data",
"type": "object",
"properties": {
"result": {
"description": "Whether the Associate succeeded",
"type": "boolean"
}
},
"required": [
"result"
],
"additionalProperties": false
} |
POST /sys/connect
Input
Code Block |
---|
firstline | 1 |
---|
title | JSON Format |
---|
linenumbers | true |
---|
|
{",
"$schematype": "http://json-schema.org/draft-04/schema#"boolean"
}
},
"titlerequired": "Wifi[
Scan Results", "descriptionresult":
"Passing Opaque data"],
"typeadditionalProperties": "object"false
} |
Output
204 No Content
GET /sys/info
Input
None
Output
Code Block |
---|
firstline | 1 |
---|
title | JSON Format |
---|
linenumbers | true |
---|
|
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Get System Info",
"description": "Sotfware and Hardware information about the gateway",
"type": "object",
"properties": {
"Manufacturer": {
"type": "string",
"value": "MMB Networks"
},
"Model_Number": {
"type": "string",
"value": "AMA01GW10"
},
"Kernel_Version": {
"type": "string"
},
"RFS_Version": {
"type": "string"
},
"MMB_Version": {
"type": "string"
},
"ETH_MAC": {
"type": "string"
},
}
} |
...
Code Block |
---|
{
"$schema":"http://json-schema.org/draft-06/schema#",
"title":"Gateway Configuration whitelist data structure",
"description":"Whitelist to determine which files are to be written to disk when reading the /sys/configure endpoint data",
"type":"object",
"properties":{
"whitelist":{
"type":"array",
"items":{
"type":"object",
"properties":{
"name":{
"description":"The name of the file",
"type":"string"
},
"path":{
"description":"The location the file should be placed (No trailing slash)",
"type":"string"
},
"type":{
"description":"The type of the file",
"type":"string",
"enum":[
"json",
"text"
]
},
"user":{
"description":"Which user should own the file (default: mmb)",
"type":"string"
},
"group":{
"description":"Which group should own the file (default: mmb)",
"type":"string"
}
},
"required":[
"name",
"path",
"type"
]
}
}
},
"required":[
"whitelist"
]
} |
Code Block |
---|
{
"$schema":"http://json-schema.org/draft-06/schema#",
"title":"Gateway Configuration data structure to be written to disk",
"description":"Passing Opaque data, along with a specific API version number for future use",
"type":"object",
"properties":{
"version":{
"type":"number"
},
"config_data":{
"type":"array",
"items":{
"type":"object",
"properties":{
"name":{
"type":"string"
},
"contents":{
"type":[
"string",
"object"
]
}
},
"required":[
"name",
"contents"
]
}
}
},
"required":[
"version",
"config_data"
]
} |
Output
Commissioning result
Client side
...
customizing and branding
The client side Javascript and CSS files are available on the Gateway in /opt/commissioning/gui/
...