optional channel and txpower
This commit is contained in:
parent
83cdf4e199
commit
5011719fdf
@ -1,10 +1,10 @@
|
|||||||
package data
|
package data
|
||||||
|
|
||||||
type Wireless struct {
|
type Wireless struct {
|
||||||
TxPower24 uint32 `json:"txpower24"`
|
TxPower24 uint32 `json:"txpower24,omitempty"`
|
||||||
Channel24 uint32 `json:"channel24"`
|
Channel24 uint32 `json:"channel24,omitempty"`
|
||||||
TxPower5 uint32 `json:"txpower5"`
|
TxPower5 uint32 `json:"txpower5,omitempty"`
|
||||||
Channel5 uint32 `json:"channel5"`
|
Channel5 uint32 `json:"channel5,omitempty"`
|
||||||
}
|
}
|
||||||
type SwitchPort struct {
|
type SwitchPort struct {
|
||||||
Speed uint32 `json:"speed"`
|
Speed uint32 `json:"speed"`
|
||||||
|
Loading…
Reference in New Issue
Block a user