[Tinyos-help] Can classes be made in tinyos1.x
Firat TARAKTAS
firat.Taraktas at genetlab.com
Mon Jul 24 23:46:29 PDT 2006
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.
Firat
----- Original Message -----
From: s bash
To: tinyos-help at Millennium.Berkeley.EDU
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 at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060725/93188779/attachment.html
More information about the Tinyos-help
mailing list