Source insight with Z-Stack 김백규. Review Z-Stack Structure.

Slides:



Advertisements
Similar presentations
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Advertisements

Effective Cooperative Channel Sensing for CR Ad Hoc Networks Wireless Network Lab. Copyright Wireless Networks Lab. CSE. SNU. All rights reserved.
1 Group 4 Autonomous Wi-Fi Sniffer RC Truck GIZMO Sponsor CALIT2 Mentors Javier Rodriguez Molina Don Kimball Group Members Dan Curcio Anson Hsu.
Under embargo until April 14, 2008 ZigBee ® Made Easy 2.4 GHz ZigBee Network Processor Mark Grazier Product Marketing, Low-Power Wireless.
ECGR-6185 ZIGBEE Advanced Embedded Systems University of North Carolina –Charlotte Gajendra Singh Some figures borrowed from Zigbee Alliance web pages.
Flow Charts In this flow chart we see that the robot will move until it bumps into an object There are two possible choices, similar to true and false.
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 9 Structures and Sequential Access Files.
EventBook What – An Android based Mobile App. Using Social Networking APIs Who – Every mobile user specially targeted to the age group of 16 – 40 Why –
By: Arnon Benor Supervisor: Yossi Kanizo Lab Engineer: Dr. Ilana David Spring Semester 2009.
Optical Ring Networks Research over MAC protocols for optical ring networks with packet switching. MAC protocols divide the ring bandwidth according to.
Project P3-A MAC Scheduling and Reservations with UDP Design and Prototyping project Test harness for adding limited application level MAC features to.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Networking Solutions Chapter 2 – The OSI Model. The Layered Approach Similar to a company like ◦ Advantages ◦Divides the network into ◦Multiple vendors.
Unit 5 Simple Present, Time Clauses, Used To, and Would.
The UK’s European university WEB DEVELOPMENT TEAM / USER-CENTRED OVERVIEW.
Smart Home for disabled people Students: Atara Gutman and Anastasia Logvinenko Instructor: Alexander Kinko Midterm Presentation Semester Spring
ABC Co. Network Implementation High reliability is primary concern – near 100% uptime required –Customer SLA has stiff penalty clauses –Everything is designed.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
1 Hello ZigBee Speaker : 施創宏 Advisor : 吳坤熹. 2 Outline  1.3 ZigBee in the Marketplace  1.4 Hello ZigBee (A First ZigBee Network)  1.5 ZigBee Home Automation.
Figure 8 Wireless, Inc. Open House February 17, 2003.
Internetworking Between ZigBee/ and IPv6/802.3 Network
SENIOR DESIGN 11/6. Lab update (time, difficulty) Writing update (interest)
Machine level architecture Computer Architecture Basic units of a Simple Computer.
Doc.: IEEE /272r0 Submission June 2001 Phil Jamieson, Philips SemiconductorsSlide 1 Project: IEEE P Working Group for Wireless Personal.
Scapy. Introduction  It’s a packet manipulation tool.  It can forge or decode packets of a wide number of protocols, send them on the wire, capture.
CDTS: Coordinator Data Traffic Shunt model for Zigbee networks International Computer Symposium (ICS 2012), Hualien, Taiwan. Authors : Chinyang Henry Tseng*,
Latifa AlAbdulkarim King Saud University October,2009.
Enabling Port Security
INFORMATION X INFO425: Systems Design Systems Design Project Deliverable 2.
Adding SubtractingMultiplyingDividingMiscellaneous.
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Open System Interconnection Reference Model (OSI reference model) Prepared by: Eric Hansen and Dean Juola.
Department of Electronic & Electrical Engineering Program design. USE CASES. Flow charts. Decisions. Program state.
ARP ‘n RARP. The Address Resolution Protocol (ARP) is a request sent out by a computer to find another computer’s MAC address. It already knows the IP.
HNC Flow Chart 1 IT Systems Analysis and Design SSADM – Design.
Conway’s Game Of Live 1 Fall 2014 CS7020: Game Design and Development.
Top Problem Areas Suspend/resume Terminate/restart Client updates Network connectivity Asynchronous code Resolutions and orientation Device testing.
Low Power Sensor Node Design with MSP430 + CC2520 YoonMo Yeon
1.3 The ZigBee application framework Jae Shin Lee.
Z IGBEE and OSAL Jaehoon Woo KNU RTLAB. KNU RTLAB.
CC2420DK Overview and The ZigBee device objects (ZDO) Real-Time Systems Lab Dea Don Jeon.
Common Channel Tag Mobile System RTlab Kang Moo jin.
9/30/2016 Distributed System Exploration Mirabilis Design Inc.
wendy balmer - test- Red Flow Chart Template
Example Slide 5 Wendy Balmer Indiana University
TrueTime.
Multicast Listener Discovery
Learning outcomes 2 Developing Code – Input Output Model
How do we send data across computer networks
Part I. Overview of Data Communications and Networking
Tips Need to Consider When Organizing a College Event
Topologies, Protocols and Layers
Programming Games Mouse position. Examples. Review for final quiz.
Access Control Lists CCNA 2 v3 – Module 11
ماجستير إدارة المعارض من بريطانيا
Ship Harbor Model Department of Computer Science University of Karachi
Project standard tasks
Duncan Kitchin Intel Wireless LAN Operation
The Presentation Title HERE
Adding with 9’s.
Adding with 10’s.
Title Layout Subtitle.
Activity Packet Attachments
How to Set up Privacy Functions
Title Layout Subtitle.
Title Layout Subtitle.
Request for Comments(RFC) 3489
Adding ____ + 10.
Title Layout Subtitle.
Project standard tasks
Presentation transcript:

Source insight with Z-Stack 김백규

Review

Z-Stack Structure

Contents Start with the main function. osal_init_system() osalAddTask() osalInitTasks() Define Simple Descriptor Task Init function Task Event processing function

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

osal_init_system() Task initialize

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

osalAddTask()

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

osalTaskInit() User Task ZigBee Task

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

osalTaskAdd Create a new Task Control Block

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

osalInitTasks Call every init function on each task added

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

SerialApp_init() We are using “Service Discovery”

Flow chart osal_init_system() osalTaskInit() osalAddTasks() osalInitTasks() osal_start_system() osalTaskAdd (MAC…) osalTaskAdd (NWK…) osalTaskAdd (USER…) SerialApp_Init() SerialApp_ProcessEvent() MAIN()

SerialApp_ProcessEvent()(1) Use a system event to process ZigBee packets

SerialApp_ProcessEvent()(2) We can also use user-defined events

Sending data to the ZigBee network Code for sending a packet to ZigBee network

Issues We don’t have to write all of these codes. Important to understand how the sending function works Good to know how Z-Stack works.