TechQA.

tinyOS light (send packet if on else no)

92 views Asked by salmann At 2014-12-04T03:01:34+00:00 04 December 2014 at 03:01 2025-12-24T07:57:17+00:00

I am want to send packet if the light is on (on 500) not from (0) else not send. what I should to do ??

Please please help me on that

  event void Read.readDone(error_t result, uint16_t data) 
  {
    if (result != SUCCESS)
      {
    data = 0xffff;
    report_problem();
      }
    if (reading < NREADINGS) 
      local.readings[reading++] = data;
  }
}
tinyos
Original Q&A
0

There are 0 answers

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?

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?

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)
  • Privacy
  • Terms
  • Cookies
  • Homegardensmart
  • Math
  • Aftereffectstemplates