Attribute Protocol(ATT)

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Advertisements

Jaringan Komputer Dasar Network Layer dan IP (1) Aurelio Rahmadian.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
CCNA – Network Fundamentals
Module 5: TLS and SSL 1. Overview Transport Layer Security Overview Secure Socket Layer Overview SSL Termination SSL in the Hosted Environment Load Balanced.
Transport Layer Security (TLS) Protocol Introduction to networks and communications(CS555) Prof : Dr Kurt maly Student:Abhinav y.
LOCAL AREA NETWORKS. LOGICAL LINK CONTROL LLC is concerned with the transmission of a link- level PDU (Protocol Data Unit)between two stations Addressing.
ISAKMP RFC 2408 Internet Security Association & Key Management Protocol Protocol Establish, modify, and delete SAs Negotiate crypto keys Procedures Authentication.
Header and Payload Formats
IP Security IPSec 2 * Essential Network Security Book Slides. IT352 | Network Security |Najwa AlGhamdi 1.
Apr 2, 2002Mårten Trolin1 Previous lecture On the assignment Certificates and key management –Obtaining a certificate –Verifying a certificate –Certificate.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
A first Demonstrator for a CAHN infrastructure Bluetooth in CAHN.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
w/ Android, iOS, and Windows Phone
Chapter 8 Web Security.
Network Management: SNMP
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
SNMP (Simple Network Management Protocol)
2011 Embedded Systems Software Training Center BluRapport SDK.
Distributed systems – Part 2  Bluetooth – 2 nd set of slides Anila Mjeda.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Robert E. Meyers CCNA, CCAI Youngstown State University Cisco Regional Academy Instructor Cisco Networking Academy Program Semester 4, v Chapter.
Speaker:Yi-Jie Pan Advisor:Dr. Kai-Wei Ke 2014/04/28
Distributed systems – Part 2  Bluetooth 4 Anila Mjeda.
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
Cryptography and Network Security (CS435) Part Fourteen (Web Security)
ARQ support for Primary Management connection IEEE Presentation Submission Template (Rev. 9) Document Number: IEEE S802.16maint-08/140 Date Submitted:
Web Security : Secure Socket Layer Secure Electronic Transaction.
1 Network Administration Module 3 ARP/RARP. 2 Address Resolution The problem Physical networks use physical addresses, not IP addresses Need the physical.
Light Weight Access Point Protocol (LWAPP) Pat R. Calhoun draft-ohara-capwap-lwapp-01.txt.
Bluetooth on CE. Mid - Presentation Roman Zoltsman & Oren Haggai Group /2001 Instructor: Nir Borenshtein HSDSL Lab. Technion.
An Introduction to Networking
Bluetooth In 1994, the L. M. Ericsson company became interested in connecting its mobile phones to other devices without cables. A SIG (Special Interest.
Mapping Salutation to Bluetooth 4 Overview 4 Bluetooth Summary 4 Salutation Architecture Summary 4 Mapping Bluetooth SDP to Salutation APIs 4 Mapping Bluetooth.
SSHSM Issues David Harrington IETF64 ISMS WG Vancouver, BC.
AFS/OSD Project R.Belloni, L.Giammarino, A.Maslennikov, G.Palumbo, H.Reuter, R.Toebbicke.
Bluetooth Low Energy Security Manager CSOS 홍성화. content Security Manager Introduction Security Properties Cryptographic Functions Security Manager Protocol.
CH15. GATT-BASED PROFILES RTLAB YuJin Park. Profile, Services, and Characteristics A Device may support one or more profiles. A Profile can include one.
BTstack Youngho Oh. Table of contents  BTstack features  BTstack Architecture  Host Controller Interface(HCI)  Bluetooth Stack  BLE event task 
Cryptography CSS 329 Lecture 13:SSL.
KyungPook National University CSOS Hye Youn Kang.
1.3 The ZigBee application framework Jae Shin Lee.
/13 LLCPS draft-urien-tls-llcp-01.txt Pascal Urien IETF 86, Orlando, FL, USA March 15th
CH9. HOST CONTROLLER INTERFACE AND COMMANDS CH10. LOGICAL LINK AND ADAPTATION PROTOCOL(L2CAP) RTLAB YuJin Park.
PRESENTATION ON SECURE SOCKET LAYER (SSL) BY: ARZOO THAKUR M.E. C.S.E (REGULAR) BATCH
Tutorial on Bluetooth Low Energy(BLE)
Agenda BLE in IoT devices Bluetooth Low Energy Protocol Stack
Network Management: SNMP
MQTT-255 Support alternate authenticaion mechanisms
Bluetooth connection & GAIA protocol
Bluetooth Low Energy Overview.
Local Area Networks Chapter 4.
Channel Control Interim substates for adding new slaves
Module 4 Remote Login.
Net 323 D: Networks Protocols
NRF52832 BLE.
A Wireless LAN technologies IEEE
SSL (Secure Socket Layer)
Net 323 D: Networks Protocols
BLUETOOTH Personal Area Networking [ PAN ] over Bluetooth
X-Road as a Platform to Exchange MyData
TRANSMISSION CONTROL PROTOCOL
Chapter 15. Internet Protocol
Electronic Payment Security Technologies
CCNA 2 1 JEOPARDY MIDTERM REVIEW S2C01 Jeopardy Review.
Presentation transcript:

Attribute Protocol(ATT) 실시간 시스템 연구실 서재희

Contents ATT Attribute Attribute Protocol Methods

ATT Discovering attributes Reading the attributes Bluetooth Radio (also called Physical Layer) Link Layer L2CAP Attribute Protocol(ATT) Generic Attribute Profile(GATT) Generic Access Profile(GAP) GATT Based Profiles Security Manager(SM) Host Controller Interface(HCI) Discovering attributes Reading the attributes Writing the attributes Client Server model Attribute : data

Attribute Attribute Type Attribute Handle Access Permissions Attribute Value Attribute Structure Attribute Handle(2 octets) Attribute Type (2 octets or 16 octets) Attribute Value (Fixed or Variable length) Attribute Permissions (Established by GATT profile)

Attribute Type Attribute Type is identified by a Universally Unique Identifier(UUID). 128bit : Bluetooth SIG has defined a single 128-bit UUID, called Bluetooth Base UUID Ex) 00000000-0000-1000-8000-0085F9B34FB 16bit : In general. 128-bit UUID = 16-bit UUID * 2^96 + Bluetooth_Base_UUID Ex) 0x2A01 => full 128-bit UUID : 00002A01-0000-1000-8000-0085F9B34FB Service UUIDs : 0x1800 ~ 0x26FF Units : 0x2700 ~ 0x27FF Attribute Types : 0x2800~0x28FF Characteristic Descriptors : 0x2900~0x29FF Characteristic Types : 0x2A00~0x2AFF

Attribute Handle Attribute Handle is used by the client in all operations with the server to identify the attribute. Unique 0x0000 is reserved, and shall not be used. 0xFFFF is known as the maximum.

Attribute Permissions Each attribute has a set of permissions associated with it which determines the level of access that is permitted for that particular attribute. Access Permissions : Readable, Writable, Readable and Writable Authentication Permissions : clients to access attribute, server has to send notification or indication Authorization Permissions : client needs to be authorized before accessing an attribute value Error code is returned. Read Not Permitted Write Not Permitted Insufficient Authentication Insufficient Authorization Insufficient Encryption Key Size Insufficient Encryption

Attribute Value Fixed Length / Variable Length ATT does not allow multiple attribute values to be transmitted in a single PDU. A PDU contains only one attribute value and if the attribute value is too long to transmit in a single PDU, it can be split across multiple PDUs.

The Others Control Point Attributes Grouping of Attribute Handles Be written, notified, or indicated : control the behavior of a device Grouping of Attribute Handles The clients can request the first and the last handle associated with the group of attributes. Read By Group Type Atomic Operations Multiple clients may be connected to a server. The server treats each operation from the client as an atomic operation which is not impacted by any other client initiating an operation at the same time. Prepare Write Request, Execute Write Request

Attribute Protocol Role : Attribute Server, Attribute Client Request Response Client Server Indication Confirmation Client Server Command Client Server Notification

PDU(Protocol Data Unit) Format Security Opcode (1 octect) Attribute Parameters (Variable Length) Authentication signature (Optioanl – 12 octets) Method (6-bit) Command Flag (1-bit) Auth Signature Flag

Methods : Request and Response Type Message Request Parameters Response Parameters Error Opcode in Error, Handle in Error, Error Code Exchange MTU Client Rx MTU Server Rx MTU Find Information Starting Handle, Ending Handle (Handle, Type) Find By Type Value Starting Handle, Ending Handle, Type, Value (Found Handle, End Group Handle) Read By Type Starting Handle, Ending Handle, Type Length, (Handle, Value) Read Handle Value Read Blob Handle, Offset Part Value Read Multiple (Handle)* (Value) Read By Group Type Starting Handle, Ending Handle, Group Type (Handle, End Group Handle, Value) Write Handle, Value - Prepare Write Execute Write Flags

Methods : Command Type PDU Command Parameters Write Command Handle, Value Signed Write Command Handle, Value, Authentication Signature

Methods : Notification Type PDU Notification Parameters Handle Value Notification Handle, Value

Methods : Indication and Confirmation Type PDU Indication Parameters Confirmation Parameters Handle Value Indication Handle, Value

Bluetooth Analyze : BPA600 CC2540 Type, Value Message Request Parameters Response Parameters Error Opcode in Error, Handle in Error, Error Code Find By Type Value Starting Handle, Ending Handle, Type, Value (Found Handle, End Group Handle) Read By Type Starting Handle, Ending Handle, Type Length, (Handle, Value) Read Handle Value Write Handle, Value -

Bluetooth Analyze : BPA600 (Cont.) Read, Write Write Command Handle Value Notification Handle Value Indication