Hi Eric,
Thank you very much for your  help. My code has compiled successfully and
is running. I have modified the Scheduler to handle two priority levels. I
now have my communication tasks as high priority tasks, hoping increase
throughput.
If needed i can submit my changes to the TinyOS community so that others
can benefit from it.
Please let me know what you think.
Levi



On Fri, Dec 27, 2013 at 1:58 AM, Eric Decker <[email protected]> wrote:

>
>
>
> 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

Reply via email to