Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
5da77d5f
Commit
5da77d5f
authored
Mar 21, 2012
by
Sven Robertz
Browse files
fixed typo
parent
6584be3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/c/experimental/throttlenet/throttlenet.lc
View file @
5da77d5f
...
...
@@ -6,30 +6,31 @@ typedef byte[6] eth_addr;
typedef struct {
string creatorId;
string svcId;
int version;
} serviceID; // Should probably be a PalCom-like struct
int version; //unique
string versionName; //human readable
} serviceID; // Should probably be a PalCom[_]like struct
typedef struct {
string key;
byte value[
-
];
byte value[
[_]
];
} property_t; // used for type info, grounding, etc.
typedef struct {
string name;
property_t properties[
-
];
param_t params[
-
];
property_t properties[
[_]
];
param_t params[
[_]
];
} command_t;
typedef struct {
string name;
property_t properties[
-
];
property_t properties[
[_]
];
} param_t;
typedef struct {
servicID svcID;
string name;
command_t commands[
-
];
byte data_description[
-
];
command_t commands[
[_]
];
byte data_description[
[_]
];
} serviceDescription; // d:o PalCom
typedef struct {
...
...
@@ -50,7 +51,7 @@ sample struct {
} services_query;
sample struct {
service_instance svcs[
-
]
service_instance svcs[
[_]
]
} services_list;
sample struct {
...
...
@@ -58,7 +59,7 @@ sample struct {
number_t bytes_per_period;
float periodtime; // in seconds // or number_t microseconds?
// importance?
} service_allocate_channel; // client
-
> GlobeThrottle to request connection
} service_allocate_channel; // client
[_]
> GlobeThrottle to request connection
sample struct {
// requesting service instance?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment