IrLAP – Infrared Link Access Protocol
-
Upload
phelan-vaughn -
Category
Documents
-
view
50 -
download
1
description
Transcript of IrLAP – Infrared Link Access Protocol
![Page 1: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/1.jpg)
IrLAP – Infrared Link Access Protocol
ByMary Hsieh and Peggy Shen
![Page 2: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/2.jpg)
Points that will be addressed
The services that IrLAP providesThe assumptions that are made about the environment when the protocol is executedThe vocabulary of messages used to implement the protocolThe encoding of the messagesThe procedures
![Page 3: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/3.jpg)
Intro – Bit and Byte Ordering
Datagram formBinary formHex formMultiple Byte Form
Note: Half Duplex
![Page 4: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/4.jpg)
Intro (background info) – OSI and TCP/IP Models
OSI ModelApplication
PresentationSession
TransportNetwork
Data LinkPhysical
TCP/IP ModelApplication
TransportInternet
Host-to-Network
![Page 5: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/5.jpg)
Services – Definition
RequestIndicationResponseConfirm
Upper Layer Upper Layer
IrLAP Layer IrLAP Layer
Request IndicationResponse
Confirm
Packets transferring
![Page 6: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/6.jpg)
Data Link Services – (Continued)
Discovery Services Discover what devices are ready or
compatible
Address Conflict Services Resolves device address conflict issues
Unit Data Services Unreliable, connectionless way to send
data, usually through broadcasting
![Page 7: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/7.jpg)
Connection Oriented Service
Connect ServicesSniffing ServicesData ServicesStatus ServicesReset ServicesDisconnect Services
Example: IrLAP_service.request(Handle)
![Page 8: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/8.jpg)
Environment and Operational Characteristics - Configurations
Point to point, point to multipointHalf duplexHidden nodesNarrow infrared cone (15 degree half angle)Synchronize transmission speedNo collision detection
![Page 9: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/9.jpg)
Data Link States and Modes
Connection state Has a connection
Contention state Waiting for a connection
Modes NRM – Normal Response Mode NDM – Normal Disconnect Mode
![Page 10: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/10.jpg)
Frame Structure
To determine where the frame begins and endsTo determine whether the frame is intended for that stationTo determine what actions to perform with the information receivedTo detect the occurrence of transmission errors in received framesTo acknowledge its receipt of frames to the transmitting station
![Page 11: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/11.jpg)
Example of a Packet
A normal packet
![Page 12: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/12.jpg)
Elements of the IrLAP Frame
Address Field – 8 bits ( least significant bit is the command/response identifier bit)Control Field U – unnumbered S - supervisory I - Information
Information Field Must be a multiple of 8 bits
![Page 13: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/13.jpg)
IrLAP Description of Procedures
![Page 14: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/14.jpg)
Steps to Connect, Transfer, and Disconnect
![Page 15: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/15.jpg)
Conclusion
What may be useful for our project We can use the broadcast command to send
out signal We know what the packets look like, so we
can use the oscilloscope to see what they look like in analog form
If we can’t use the IrDA port to transmit and receive signals through the skin, we could at least use it to transmit data that has been collected
![Page 16: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/16.jpg)
Conclusion - Continued
What would impede our project Half Duplex – if data cannot move in both
directions at the same time, it may be difficult to send signals and get them back in a timely fashion
Start/End Header – if we send a signal to the skin, the skin would not be able to generate a packet with headers that tells the IrDA port to get ready for data reception
Bit Representation – it would be hard for us to control what is sent out in bits, etc.
![Page 17: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/17.jpg)
Conclusion - Continued
Therefore, we have concluded that we cannot use the IrDA port to do what we would like it to do. We would need a separate piece of hardware between the PDA and the laser diode to do the job.
![Page 18: IrLAP – Infrared Link Access Protocol](https://reader033.fdocuments.us/reader033/viewer/2022051000/56813545550346895d9ca5bc/html5/thumbnails/18.jpg)
Bibliography
http://www.irda.org/standards/specificationsoldest.asp