tinyos / tinyos-main

Main development repository for TinyOS (an OS for embedded, wireless devices).
1.4k stars 516 forks source link

How about TinyOS now? #428

Open yulincoder opened 5 years ago

yulincoder commented 5 years ago

Actually, TinyOS is an excellent embedded OS either concept and implementation in my view. I have done research about anomaly detection of the embedded system on TinyOS and I love this OS. But I have been noticing that the community activity tends to decrease, How about TinyOS now in academia, industry and community now? Moreover, what is TinyOS team's goals future and what are your team going to do? Thanks.

anitaSpatil commented 5 years ago

Yes, I agree. I am the researcher in TinyOS and searching for the people working on TinyOS. Thanks.

cire831 commented 5 years ago

Hi,

TinyOS and nesC is harder to learn then more common approaches. But I agree that TinyOS and nesC are very well put together.

I am actively using TinyOS and nesC in developing embedded systems for production quality products.

This work is being done over at github://tinyprod/prod and in particular tp-freeforall/prod. The majority of the work is focused on ARM Cortex-m4F based platforms. It is a superset of tinyos/tinyos-main.

let's work together.

eric

Also check out MamMark/mm. It is an additional parallel tinyos based development.

On Sat, Dec 1, 2018 at 6:58 AM anitaSpatil notifications@github.com wrote:

Yes, I agree. I am the researcher in TinyOS and searching for the people working on TinyOS. Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tinyos/tinyos-main/issues/428#issuecomment-443432071, or mute the thread https://github.com/notifications/unsubscribe-auth/AAY46e9OtDEAtq2nsmbw7cwpXsorvAVGks5u0pkNgaJpZM4Y829M .

-- Eric B. Decker Senior (over 50 :-) Researcher

anitaSpatil commented 5 years ago

Thanks a lot for your reply Sir Eric. I was eagerly waiting for reply. Actually I am the beginner in the area of TinyOS. I have knowledge about Operating Systems, Computer Networking and C programming language. I taught these subjects to UG students many times. With lot of interest I have taken TinyOS as my research area. I have many more confusions in programming using nesC , like, being an extended language of C does this supports all the features of C ? etc. can you help me in this regard?

Let's work together.... Thanking you Anita Patil

cire831 commented 5 years ago

On Tue, Dec 4, 2018 at 4:34 AM anitaSpatil notifications@github.com wrote:

Thanks a lot for your reply Sir Eric. I was eagerly waiting for reply. Actually I am the beginner in the area of TinyOS. I have knowledge about Operating Systems, Computer Networking and C programming language. I taught these subjects to UG students many times. With lot of interest I have taken TinyOS as my research area. I have many more confusions in programming using nesC , like, being an extended language of C does this supports all the features of C ? etc. can you help me in this regard?

yes nesC is a superset of C. Typically one trys not to get too clever in C because that then violates the partitioning that nesC brings to the table.

What in particular are you struggling with?

Let's work together....

Thanking you Anita Patil

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tinyos/tinyos-main/issues/428#issuecomment-444069425, or mute the thread https://github.com/notifications/unsubscribe-auth/AAY46VLkSPtyAWIsZuokc8sc_iEiRP_eks5u1l2-gaJpZM4Y829M .

-- Eric B. Decker Senior (over 50 :-) Researcher

yulincoder commented 5 years ago

@cire831 hello, There is a PR #426 I posted, Do you have any solution? @cire831 @anitaSpatil In addition, I have been making a tiny event-driving framework eframe imitating the TinyOS. hahaha 😄 😄 😄 Thanks

cire831 commented 5 years ago

I've looked at it but haven't been able to figure out where it is going wrong. I'll look at it again today or tomarrow.

anitaSpatil commented 5 years ago

Sir, I have installed TinyOS-2.1.2 on Ubuntu 14.04 LTS and executed Blink application on simulator(I hope TOSSIM is the default simulator in tinyos-2.1.2 ) with

  1. micaz platforms using command avrora -simulation=sensor-network -seconds=5.0 -nodecount=5 main.elf
  2. telosb platform using the command java -jar /opt/mspsim-master/mspsim.jar main.exe

    got the results also as it was shown in the referred youtube videos.

Now I would like to write some simple programs to see how printf ,scanf etc functions works in nesC. So, I referred the link http://tinyos.stanford.edu/tinyos-wiki/index.php/The_TinyOS_printf_Library but it gives the example with hardware not the simulator.

May I include C++ features like inline functions , virtual functions etc in tinyOS(I have seen c,cpp,java and python in tinyos-release-tinyos-2_1_2.zip\tinyos-release-tinyos-2_1_2\support\sdk ) ?

Actually I have to work on process scheduling in tinyOS. I need to study complete nesC in detail. I am referring the youtube videos and some tutorials to learn about tinyOS and nesC. Sir, is this the right way of learning? Sir, as you said, tinyOS and nesC combination is harder, is there any other language for TinyOS?

Let's work together....

Thank you.

yulincoder commented 5 years ago

There is a good tutorial TinyOS programming recommended you.

------------------ 原始邮件 ------------------ 发件人: "anitaSpatil"notifications@github.com; 发送时间: 2018年12月12日(星期三) 凌晨2:33 收件人: "tinyos/tinyos-main"tinyos-main@noreply.github.com; 抄送: "Te Zhang"784773435@qq.com; "Author"author@noreply.github.com; 主题: Re: [tinyos/tinyos-main] How about TinyOS now? (#428)

Sir, I have installed TinyOS-2.1.2 on Ubuntu 14.04 LTS and executed Blink application on simulator(I hope TOSSIM is the default simulator in tinyos-2.1.2 ) with

micaz platforms using command avrora -simulation=sensor-network -seconds=5.0 -nodecount=5 main.elf

telosb platform using the command java -jar /opt/mspsim-master/mspsim.jar main.exe

got the results also as it was shown in the referred youtube videos.

Now I would like to write some simple programs to see how printf ,scanf etc functions works in nesC. So, I referred the link http://tinyos.stanford.edu/tinyos-wiki/index.php/The_TinyOS_printf_Library but it gives the example with hardware not the simulator.

May I include C++ features like inline functions , virtual functions etc in tinyOS(I have seen c,cpp,java and python in tinyos-release-tinyos-2_1_2.zip\tinyos-release-tinyos-2_1_2\support\sdk ) ?

Actually I have to work on process scheduling in tinyOS. I need to study complete nesC in detail. I am referring the youtube videos and some tutorials to learn about tinyOS and nesC. Sir, is this the right way of learning? Sir, as you said, tinyOS and nesC combination is harder, is there any other language for TinyOS?

Let's work together....

Thank you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

anitaSpatil commented 5 years ago

Thank you.

cire831 commented 5 years ago

Sir, I have installed TinyOS-2.1.2 on Ubuntu 14.04 LTS and executed Blink application on simulator(I hope TOSSIM is the default simulator in tinyos-2.1.2 ) with

micaz platforms using command
avrora -simulation=sensor-network -seconds=5.0 -nodecount=5 main.elf
telosb platform using the command
java -jar /opt/mspsim-master/mspsim.jar main.exe

got the results also as it was shown in the referred youtube videos.

It is my understanding that the simulator only works with micaz platforms.

Now I would like to write some simple programs to see how printf ,scanf etc functions works in nesC. So, I referred the link http://tinyos.stanford.edu/tinyos-wiki/index.php/The_TinyOS_printf_Library but it gives the example with hardware not the simulator.

I don't know what that means.

There are various printf implementations. It has evolved over time and was never consolidated with a single implementation. I beleive there is a printf implmentation that uses low level uart h/w and a printf implmentation that is based on Active Messaging that works over the network or an AM serial connection. I agree it is confusing.

May I include C++ features like inline functions , virtual functions etc in tinyOS(I have seen c,cpp,java and python in tinyos-release-tinyos-2_1_2.zip\tinyos-release-tinyos-2_1_2\support\sdk ) ?

While technically you could do this, it is probably very difficult. nesc is a preprocessor (it effectively replaces cpp) that feeds its output to gcc. Not g++ the gnu C++ compiler. GCC supports inline functions.

The other instances of code you are referencing are support tools and not used when building code for the underlying motes (the actual embedded system).

Actually I have to work on process scheduling in tinyOS. I need to study complete nesC in detail.

Technically nesC is the implementation language used by tinyOS.

I am referring the youtube videos and some tutorials to learn about tinyOS and nesC.

Sir, is this the right way of learning?

Start with the reference, tos-programming. Then try to work through the basic tutorials. http://tinyos.stanford.edu/tinyos-wiki/index.php/TinyOS_Tutorials

Sir, as you said, tinyOS and nesC combination is harder, is there any other language for TinyOS?

nesC is the implementation language.

cire831 commented 5 years ago

anita, these kinds of questions are more appropriate for tinyos-help (tinyos-help@millennium.berkeley.edu)

anitaSpatil commented 5 years ago

Thanks a lot Sir.