Hi,
According to my search, class can be defined like C-syntax. An example is given below which is a part of command.h file
 
 
 
typedef struct {
 uint8_t idx; // index into CommandDesc array
 char *name;
 uint8_t id; // id for CommandRegister interface dispatch
 TOSType retType;
 uint8_t retLen;
 ParamList params;
} CommandDesc;
 
typedef CommandDesc *CommandDescPtr;
 
 
 
I hope it will help you.
Fırat
----- Original Message -----
From: s bash
Sent: Tuesday, July 25, 2006 9:17 AM
Subject: [Tinyos-help] Can classes be made in tinyos1.x

hi to all
i want to inquire that can we make classes and their instances  in Tinyos1.x?
waiting for reply
Regards
Salma


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to