Skip to content
Snippets Groups Projects
Commit 5da77d5f authored by Sven Robertz's avatar Sven Robertz
Browse files

fixed typo

parent 6584be3e
No related branches found
No related tags found
No related merge requests found
...@@ -6,30 +6,31 @@ typedef byte[6] eth_addr; ...@@ -6,30 +6,31 @@ typedef byte[6] eth_addr;
typedef struct { typedef struct {
string creatorId; string creatorId;
string svcId; string svcId;
int version; int version; //unique
} serviceID; // Should probably be a PalCom-like struct string versionName; //human readable
} serviceID; // Should probably be a PalCom[_]like struct
typedef struct { typedef struct {
string key; string key;
byte value[-]; byte value[[_]];
} property_t; // used for type info, grounding, etc. } property_t; // used for type info, grounding, etc.
typedef struct { typedef struct {
string name; string name;
property_t properties[-]; property_t properties[[_]];
param_t params[-]; param_t params[[_]];
} command_t; } command_t;
typedef struct { typedef struct {
string name; string name;
property_t properties[-]; property_t properties[[_]];
} param_t; } param_t;
typedef struct { typedef struct {
servicID svcID; servicID svcID;
string name; string name;
command_t commands[-]; command_t commands[[_]];
byte data_description[-]; byte data_description[[_]];
} serviceDescription; // d:o PalCom } serviceDescription; // d:o PalCom
typedef struct { typedef struct {
...@@ -50,7 +51,7 @@ sample struct { ...@@ -50,7 +51,7 @@ sample struct {
} services_query; } services_query;
sample struct { sample struct {
service_instance svcs[-] service_instance svcs[[_]]
} services_list; } services_list;
sample struct { sample struct {
...@@ -58,7 +59,7 @@ sample struct { ...@@ -58,7 +59,7 @@ sample struct {
number_t bytes_per_period; number_t bytes_per_period;
float periodtime; // in seconds // or number_t microseconds? float periodtime; // in seconds // or number_t microseconds?
// importance? // importance?
} service_allocate_channel; // client -> GlobeThrottle to request connection } service_allocate_channel; // client [_]> GlobeThrottle to request connection
sample struct { sample struct {
// requesting service instance? // requesting service instance?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment