change extrabyes to expanable

main
Minizbot2012 3 years ago
parent 1c5b5637f7
commit 9f4df6ed07
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917

@ -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