SlideShare a Scribd company logo
WSN Programming Course
TinyOS Lab:
Lesson 02: Serial Communication
Manuel Fernández
UAH, 18th September 2013
• Introduction to serial communication
•TinyOS native tools
• Exercises
2
Contents
3
Configuration
4
Header
5
Module
• Specification:
• Implementation:
Let’s look at Lesson02 and go step by step!
1. Listen:
java net.tinyos.tools.Listen –comm serial@/dev/ttyUSB0:telosb
2. ListenNew
java net.tinyos.tools.Listen –comm serial@/dev/ttyUSB0:telosb
TinyOS Native Tools
6
HEADER PAYLOAD HEADER PAYLOAD
3. Serial Forwarder (java):
java net.tinyos.sf.SerialForwarder –comm serial@/dev/ttyUSB0:telosb –port 9002
4. Listen/ListenNew to SF:
java net.tinyos.tools.Listen –comm sf@localhost:9002
java net.tinyos.tools.ListenNew –comm sf@localhost:9002
5. Serial Forwarder (c++):
./sf
help
help start
start 9002 /dev/ttyUSB0 115200
TinyOS Native Tools
7
1. Try sending a message to handle leds from the PC to the mote using
SFSend program in utils.
8
Exercises
Contact Info:
Manuel Fernández
manuel.fernandez@advanticsys.com
9

More Related Content

PDF
TinyOS Course 01: Basic Programming
PDF
TinyOS Course 04: Sensing
PPTX
Introduction to Exploitation
PPTX
Enumeration
PDF
Intoduction to TinyOS, nesC and TOSSIM
PDF
TinyOS Course 00: Introduction to WSN
PDF
TinyOS Course 05: Advanced Protocols
PDF
TinyOS Course 03: Radio Communication
TinyOS Course 01: Basic Programming
TinyOS Course 04: Sensing
Introduction to Exploitation
Enumeration
Intoduction to TinyOS, nesC and TOSSIM
TinyOS Course 00: Introduction to WSN
TinyOS Course 05: Advanced Protocols
TinyOS Course 03: Radio Communication

Similar to TinyOS Course 02 Serial Communication (20)

PDF
Node.js essentials
PDF
TinyOS installation Guide And Manual
DOCX
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docx
PPTX
Fullstack workshop
PDF
offsec PEN-200 12 week learning plan.pdf
PDF
offsec PEN-200 12 week learning plan.pdf
PDF
offsec PEN-200 12 week learning plan.pdf
ODP
Building Server Applications Using ObjectiveC And GNUstep
ODP
Building Server Applications Using Objective C And Gn Ustep
PDF
Ninja, Choose Your Weapon!
PPTX
Celery workshop
PDF
Managing-Splunk-with-Puppet 31-January-2022.pdf
PDF
ansible_rhel.pdf
PDF
Open Dayligth usando SDN-NFV
PDF
ESP8266 and IOT
ODP
Tox as project descriptor.
PPTX
Restarting app with Nodemon.pptx
PDF
Hol 1940-01-net pdf-en
PDF
Nmap2Nessus Presentation Slides at Black Hat Asia Arsenal 2015
PDF
Janus Workshop @ ClueCon 2020
Node.js essentials
TinyOS installation Guide And Manual
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docx
Fullstack workshop
offsec PEN-200 12 week learning plan.pdf
offsec PEN-200 12 week learning plan.pdf
offsec PEN-200 12 week learning plan.pdf
Building Server Applications Using ObjectiveC And GNUstep
Building Server Applications Using Objective C And Gn Ustep
Ninja, Choose Your Weapon!
Celery workshop
Managing-Splunk-with-Puppet 31-January-2022.pdf
ansible_rhel.pdf
Open Dayligth usando SDN-NFV
ESP8266 and IOT
Tox as project descriptor.
Restarting app with Nodemon.pptx
Hol 1940-01-net pdf-en
Nmap2Nessus Presentation Slides at Black Hat Asia Arsenal 2015
Janus Workshop @ ClueCon 2020
Ad

Recently uploaded (20)

PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Lesson notes of climatology university.
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
1_English_Language_Set_2.pdf probationary
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
IGGE1 Understanding the Self1234567891011
PDF
Trump Administration's workforce development strategy
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Introduction to Building Materials
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Unit 4 Skeletal System.ppt.pptxopresentatiom
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Lesson notes of climatology university.
A systematic review of self-coping strategies used by university students to ...
Paper A Mock Exam 9_ Attempt review.pdf.
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
1_English_Language_Set_2.pdf probationary
Supply Chain Operations Speaking Notes -ICLT Program
RMMM.pdf make it easy to upload and study
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
What if we spent less time fighting change, and more time building what’s rig...
IGGE1 Understanding the Self1234567891011
Trump Administration's workforce development strategy
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Final Presentation General Medicine 03-08-2024.pptx
Digestion and Absorption of Carbohydrates, Proteina and Fats
Hazard Identification & Risk Assessment .pdf
Introduction to Building Materials
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Ad

TinyOS Course 02 Serial Communication