change extrabyes to expanable

Minizbot2012 3 years ago
parent 0136c0179a
commit b7e117de3c

@ -2,10 +2,15 @@ package devices
import "github.com/OrbTools/OrbCommon/gui"
//ExtraBytes defines extra bytes to a type
type ExtraBytes struct {
Name string
Size int
}
//Device defines a JSON device
//NYI
type Device struct {
EB int
EB []*ExtraBytes
BINDLEN int
BINDING []byte
GUI gui.GUI

@ -1,6 +1,11 @@
{
"BINDLEN": 26,
"EB": 3,
"EB": [
{
"Name": "Color",
"Size": 3
}
],
"BINDING": [
41,
2,

Loading…
Cancel
Save