I know that TinyOS itself is written in nesC and the application written in nesC gets executed in TinyOS. Can we develop C language application to run on TinyOS?
1
There are 1 best solutions below
Related Questions in TINYOS
- tinyos implementation of routing table for multiple nodes
- Unable to compile and return for a Python function, in a try-except structure
- Segmentation Fault error in nesC for Flooding packet acknowledgement using TinyOS
- How to run a command line in HTML using javascript?
- How the TinyOS communicates with the TelosB hardware?
- How to test Multitasking in TinyOS?
- How to connect LED's in nesC?
- How to transmit a message to particular nodes in tinyOS?
- How to fix an error : 'Could not load library 'toscomm': no toscomm in java.library.path'?
- using java to read data from serial port in Tiny OS
- Unable to compile TinyOs applications with avr-gcc 4.2.1 but able to compile with avr-gcc 3.3
- Why does this TinyOS C code file appear obfuscated?
- what is the meaning of base code in TinyOS
- C application programs for tinyos
- TinyOS UDP support?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The short is answer is NO. You generally can't write a application in C that "runs" on TinyOS.
TinyOS uses nesC so you can't directly use a full, already existing C application with TinyOS. Remember that the NesC compiler takes a TinyOS application written in nesC as input and then compiles it and outputs an C application. That C application is then fed to the microcontroller's compiler which compiles it and uploads it to the microcontroller. So if you already have a complete C application then the question is why do you need to compile it with TinyOS's nesC compiler.
A common task that people want to accomplish is to include pure C code (either from some library or self written) in a TinyOS application. This can be accomplished by including normal C header files and then calling the C functions as you normally would do in C. The actual C code can then be located in the header file itself (for instance the CRC.h file in the TinyOS distribution has C code in it's header) or can be in some other C file. Similar to how you would do it in C.