This is a waste of time.

The links to the download areas don't work anymore.   They mumble something
about a modified nesC compiler and the page is copyright 2007 so at this
point is very old.

It isn't clear what version of TinyOS this was written for.



also talking about translating nesc to C code automatically is nonsensical
because that is exactly what nesC does.   It takes nesC modules and
combines them into a single C whole compilation unit that is then fed to
the C compiler.



On Wed, May 29, 2013 at 4:31 PM, ABDELBASSET MASSOURI <
[email protected]> wrote:

> Hi Eric, thanks a lot for your answer,
>
> OpenMAC is the MeshNetics' open source implementation of IEEE 802.15.4
> (ZigBee) MAC layer.
>  For further information would you like to take a look at the attached
> files.
>
> OpenMAC is coded in NesC and it is intended to be executed on TinyOS
> system running on small microcontroller.
>
> Yes, you are right TinyOS OS functions don't look anything like Linux OS
> functions. However, there should be equivalent functions in Linux System?
>
> From a C point of view how the specific types in NesC like interface,
> command, event... can be translated.
>
> Regards
>
>
> 2013/5/30 Eric Decker <[email protected]>
>
>>
>>
>>
>> On Wed, May 29, 2013 at 3:03 PM, ABDELBASSET MASSOURI <
>> [email protected]> wrote:
>>
>>> Hi everyone,
>>>
>>> I would like to re-use the OpenMAC which is an open source
>>> implementation of the IEEE802.15.4 MAC Layer.
>>> My application layer is coded in C and it runs under a debian system. I
>>> use gcc compilation tool chain.
>>> I want to compile OpenMAC for a Linux system and not TinyOS.
>>>
>>
>> what is OpenMAC and what does it have to do with TinyOS?
>>
>>
>>>
>>> So I would like to know if it is possible to adapt the OpenMAC to a
>>> linux based implementation?
>>>
>>> Does there any way to convert NesC to C code and change "automatically"
>>> the TinyOS dependencies of the software (NesC code) to a linux
>>> system dependencies. By these dependencies I mean the call of the OS
>>> functions.
>>>
>>
>> The TinyOS OS functions don't look anything like Linux OS functions.
>>
>> While it may be possible to do automatic conversion, it is highly
>> unlikely.
>>
>>
>>
>>>
>>> Sorry, I never used NesC and TinyOS, but I may think about these tools
>>> for a standalone implementation of my system.
>>>
>>> Regards
>>> A.MASSOURI
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>>
>>
>


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