On Thu, Dec 26, 2013 at 10:23 AM, Roadstar Runner <[email protected]>wrote:
> Hi,
> I am trying to implement an interface for scheduling high priority tasks.
> i have modified TinySchedulerC.nc as follows
>
> configuration TinySchedulerC
> {
> provides interface Scheduler;
> provides interface TaskBasic[uint8_t id];
> provides interface TaskBasic[uint8_t taskID] as TaskHighPriority;
>
should be:
provides interface TaskBasic as TaskHighPriority[uint8_t taskID];
provides interface TaskBasic[uint8_t id];
is short form for
provides interface TaskBasic as TaskBasic[uint8_t id];
> }
> implementation
> {
>
> //blah blah blah
> }
>
> when i compile my application i get an error
> /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:49: syntax error before `as'
> /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:54: cannot find `Scheduler'
> /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:55: cannot find `TaskBasic'
>
>
> please help .
>
>
> Thanks
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help