본문 바로가기
반응형

전체 글130

LMP feature mask 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ 1. LMP feature mask: Page 0 LMP feature mask: Page 0 No. Supported feature Byte Bit 0 3 slot packets 0 0 1 5 slot packets 0 1 2 Encryption 0 2 3 Slot offset 0 3 4 Timing accuracy 0 4 5 Role switch 0 5 6 Hold mode 0 6 7 Sniff mode 0 7 8 Previously used 1 0 9 Power control requests 1 1 10 Channel quality driven data rate .. 2023. 1. 13.
Controller Error Code 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ Controller Error Code - Command 실패 이유를 알려준다. - LMP 또는 LL 메시지 실패 이유를 알려준다. Controller Error Code Error Code Name 0x00 Success 0x01 Unknown HCI Command 0x02 Unknown Connection Identifier 0x03 Hardware Failure 0x04 Page Timeout 0x05 Authentication Failure 0x06 PIN or Key Missing 0x07 Memory Capacity Exceeded 0x08 Connectio.. 2023. 1. 13.
LMP Opcode 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ * LMP PDU의 Parameter 설명은 "LMP Opcode - Parameter 설명 추가" 참고 * LMP packet (LMP PDU)에 대한 내용은 "LMP packet format (LMP PDU)" 참고 LMP PDU (LMP Opcode) LMP PDU Length Opcode Parameter Payload Position LMP_name_req 2 1 Name_Offset 2 LMP_name_res 17 2 Name_Offset 2 Name_Length 3 Name_Fragment 4~17 LMP_accepted 2 3 Opcode 2 LMP_no.. 2023. 1. 11.
ATT Opcode (ATT PDU) - 세로 버전 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ * 가로 형태의 ATT PDU는 "ATT Opcode (ATT PDU) - 가로 버전" 참고 Attribute protocol PDUs 분류 Attribute Opcode (1 octet) Parameter Error handling 0x01 ATT_ERROR_RSP Error가 발생한 Request Opcode (1 octet) Error가 발생한 Attribute Handle (2 octet) Error Code: 에러가 발생한 이유 (1 octet) MTU exchange 0x02 ATT_EXCHANGE_MTU_REQ Client에서 수신 가능한 MTU 크기 (2.. 2023. 1. 10.
ATT Opcode (ATT PDU) - 가로 버전 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ * 세로 형태의 ATT PDU는 "ATT Opcode (ATT PDU) - 세로 버전" 참고 Attribute protocol PDU 분류 Attribute Opcode (1 octet) Parameter Error handling 0x01 ATT_ERROR_RSP * Error code는 "ATT_ERROR_RSP Error Code" 참고 MTU exchange 0x02 ATT_EXCHANGE_MTU_REQ 0x03 ATT_EXCHANGE_MTU_RSP Find information 0x04 ATT_FIND_INFORMATION_REQ 0x05 ATT_FIND_IN.. 2023. 1. 10.
ATT_ERROR_RSP Error Code 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-5-3/ 참고자료: https://www.bluetooth.com/specifications/specs/core-specification-supplement-10/ ATT_ERROR_RSP PDU의 Error code 내용을 정리 하였다. ATT_ERROR_RSP Error Code Name Error Code Description Invalid Handle 0x01 The attribute handle given was not valid on this server. Read Not Permitted 0x02 The attribute cannot be read. Write No.. 2023. 1. 9.
반응형