반응형
참고자료: 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_not_accepted | 3 | 4 | Opcode | 2 |
Error_Code | 3 | |||
LMP_clkoffset_req | 1 | 5 | No Parameter | |
LMP_clkoffset_res | 3 | 6 | Clock_Offset | 2~3 |
LMP_detach | 2 | 7 | Error_Code | 2 |
LMP_in_rand | 17 | 8 | Random_Number | 2~17 |
LMP_comb_key | 17 | 9 | Random_Number | 2~17 |
LMP_unit_key | 17 | 10 | Key | 2~17 |
LMP_au_rand | 17 | 11 | Random_Number | 2~17 |
LMP_sres | 5 | 12 | Authentication_Rsp | 2~5 |
LMP_temp_rand | 17 | 13 | Random_Number | 2~17 |
LMP_temp_key | 17 | 14 | Key | |
LMP_encryption_mode_req | 2 | 15 | Encryption_Mode | 2 |
LMP_encryption_key_size_req | 2 | 16 | Key_Size | 2 |
LMP_start_encryption_req | 17 | 17 | Random_Number | 2~17 |
LMP_stop_encryption_req | 1 | 18 | No Parameter | |
LMP_switch_req | 5 | 19 | Switch_Instant | 2~5 |
LMP_hold | 7 | 20 | Hold_Time | 2~3 |
Hold_Instant | 4~7 | |||
LMP_hold_req | 7 | 21 | Hold_Time | 2~3 |
Hold_Instant | 4~7 | |||
NA | NA | |||
LMP_sniff_req | 10 | 23 | Timing_Control_Flags | 2 |
DSniff | 3~4 | |||
TSniff | 5~6 | |||
Timing_Control_Flags | 7~8 | |||
Sniff_Timeout | 9~10 | |||
LMP_unsniff_req | 1 | 24 | No Parameter | |
NA | NA | |||
NA | NA | |||
NA | NA | |||
NA | NA | |||
NA | NA | |||
NA | NA | |||
LMP_incr_power_req | 2 | 31 | Reserved | 2 |
LMP_decr_power_req | 2 | 32 | Reserved | 2 |
LMP_max_power | 1 | 33 | No Parameter | |
LMP_min_power | 1 | 34 | No Parameter | |
LMP_auto_rate | 1 | 35 | No Parameter | |
LMP_preferred_rate | 2 | 36 | Data_Rate | 2 |
LMP_version_req | 6 | 37 | Version | 2 |
Company_Identifier | 3~4 | |||
Subversion | 5~6 | |||
LMP_version_res | 6 | 38 | Version | 2 |
Company_Identifier | 3~4 | |||
Subversion | 5~6 | |||
LMP_features_req | 9 | 39 | Features | 2~9 |
LMP_features_res | 9 | 40 | Features | 2~9 |
LMP_quality_of_service | 4 | 41 | Poll_Interval | 2~3 |
NBC | 4 | |||
LMP_quality_of_service_req | 4 | 42 | Poll_Interval | 2~3 |
NBC | 4 | |||
LMP_SCO_link_req | 7 | 43 | SCO_Handle | 2 |
Timing_Control_Flags | 3 | |||
Dsco | 4 | |||
Tsco | 5 | |||
SCO_Packet | 6 | |||
Air_Mode | 7 | |||
LMP_remove_SCO_link_req | 4 | 44 | SCO_Handle | 3 |
Error_Code | 4 | |||
LMP_max_slot | 2 | 45 | Max_Slots | 2 |
LMP_max_slot_req | 2 | 46 | Max_Slots | 2 |
LMP_timing_accuracy_req | 1 | 47 | No Parameter | |
LMP_timing_accuracy_res | 3 | 48 | Drift | 2 |
Jitter | 3 | |||
LMP_setup_complete | 1 | 49 | No Parameter | |
LMP_use_semi_permanent_key | 1 | 50 | No Parameter | |
LMP_host_connection_req | 1 | 51 | No Parameter | |
LMP_slot_offset | 9 | 52 | Slot_Offset | 2~3 |
BD_ADDR | 4~9 | |||
LMP_page_mode_req | 3 | 53 | Paging_Scheme | 2 |
Paging_Scheme_Settings | 3 | |||
LMP_Page_scan_mode_req | 3 | 54 | Paging_Scheme | 2 |
Paging_Scheme_Settings | 3 | |||
LMP_supervision_timeout | 3 | 55 | Supervision_Timeout | 2~3 |
LMP_test_activate | 1 | 56 | No Parameter | |
LMP_test_control | 10 | 57 | Test_Scenario | 2 |
Hopping_Mode | 3 | |||
Tx_Frequency | 4 | |||
Rx_Frequency | 5 | |||
Power_Mode | 6 | |||
Poll_Period | 7 | |||
Packet_Type | 8 | |||
Test_Data_Length | 9~10 | |||
LMP_encryption_key_size_mask_req | 1 | 58 | No Parameter | |
LMP_encryption_key_size_mask_res | 3 | 59 | Key_Size_Mask | 2~3 |
LMP_set_AFH | 16 | 60 | AFH_Instant | 2~5 |
AFH_Mode | 6 | |||
AFH_Channel_Map | 7~16 | |||
LMP_encapsulated_header | 4 | 61 | Encap_Major_Type | 2 |
Encap_Minor_Type | 3 | |||
Encap_Payload_Length | 4 | |||
LMP_encapsulated_payload | 17 | 62 | Encap_Data | 2~17 |
LMP_simple_pairing_confirm | 17 | 63 | Commitment_Value | 2~17 |
LMP_simple_pairing_number | 17 | 64 | Nonce_Value | 2~17 |
LMP_DHkey_check | 17 | 65 | Confirmation_Value | 2~17 |
LMP_pause_encryption_aes_req | 17 | 66 | Random_Number | 2~17 |
LMP_accepted_ext | 4 | (127<<8) | 1 | Escape_Opcode | 3 |
Extended_Opcode | 4 | |||
LMP_not_accepted_ext | 5 | (127<<8) | 2 | Escape_Opcode | 3 |
Extended_Opcode | 4 | |||
Error_Code | 5 | |||
LMP_features_req_ext | 12 | (127<<8) | 3 | Features_Page | 3 |
Max_Supported_Page | 4 | |||
Extended_Features | 5~12 | |||
LMP_features_res_ext | 12 | (127<<8) | 4 | Features_Page | 3 |
Max_Supported_Page | 4 | |||
Extended_Features | 5~12 | |||
LMP_clk_adj | 15 | (127<<8) | 5 | Clk_Adj_ID | 3 |
Clk_Adj_Instant | 4~7 | |||
Clk_Adj_Offset | 8~9 | |||
Clk_Adj_Slots | 10 | |||
Clk_Adj_Mode | 11 | |||
Clk_Adj_Clk | 12~15 | |||
LMP_clk_adj_ack | 3 | (127<<8) | 6 | Clk_Adj_ID | 3 |
LMP_clk_adj_req | 6 | (127<<8) | 7 | Clk_Adj_Offset | 3~4 |
Clk_Adj_Slots | 5 | |||
Clk_Adj_Period | 6 | |||
LMP_packet_type_table | 3 | (127<<8) | 11 | Packet_Type_Table | 3 |
LMP_eSCO_link_req | 16 | (127<<8) | 12 | eSCO_Handle | 3 |
eSCO_LT_ADDR | 4 | |||
Timing_Control_Flags | 5 | |||
DeSCO | 6 | |||
TeSCO | 7 | |||
WeSCO | 8 | |||
eSCO_Packet_Type C→P | 9 | |||
eSCO_Packet_Type P→C | 10 | |||
Packet_Length C→P | 11~12 | |||
Packet_Length P→C | 13~14 | |||
Air_Mode | 15 | |||
Negotiation_State | 16 | |||
LMP_remove_eSCO_link_req | 4 | (127<<8) | 13 | eSCO_Handle | 3 |
Error_Code | 4 | |||
LMP_channel_classification_req | 7 | (127<<8) | 16 | AFH_Reporting_Mode | 3 |
AFH_Min_Interval | 4~5 | |||
AFH_Max_Interval | 6~7 | |||
LMP_channel_classification | 12 | (127<<8) | 17 | AFH_Channel_Classification | 3~12 |
LMP_sniff_subrating_req | 9 | (127<<8) | 21 | Max_Sniff_Subrate | 3 |
Min_Sniff_Mode_Timeout | 4~5 | |||
Sniff_Subrating_Instant | 6~9 | |||
LMP_sniff_subrating_res | 9 | (127<<8) | 22 | Max_Sniff_Subrate | 3 |
Min_Sniff_Mode_Timeout | 4~5 | |||
Sniff_Subrating_Instant | 6~9 | |||
LMP_pause_encryption_req | 2 | (127<<8) | 23 | No Parameter | |
LMP_resume_encryption_req | 2 | (127<<8) | 24 | No Parameter | |
LMP_IO_capability_req | 5 | (127<<8) | 25 | IO_Capabilities | 3 |
OOB_Auth_Data | 4 | |||
Authentication_Requirements | 5 | |||
LMP_IO_capability_res | 5 | (127<<8) | 26 | IO_Capabilities | 3 |
OOB_Auth_Data | 4 | |||
Authentication_Requirements | 5 | |||
LMP_numeric_comparision_failed | 2 | (127<<8) | 27 | No Parameter | |
LMP_passkey_failed | 2 | (127<<8) | 28 | No Parameter | |
LMP_oob_failed | 2 | (127<<8) | 29 | No Parameter | |
LMP_keypress_notification | 3 | (127<<8) | 30 | Notification_Type | 2 |
LMP_power_control_req | 3 | (127<<8) | 31 | Power_Adj_Req | 3 |
LMP_power_control_res | 3 | (127<<8) | 32 | Power_Adj_Rsp | 3 |
LMP_ping_req | 2 | (127<<8) | 33 | No Parameter | |
LMP_ping_res | 2 | (127<<8) | 34 | No Parameter | |
LMP_SAM_SET_TYPE0 | 17 | (127<<8) | 35 | Update_Mode | 3 |
SAM_Type0_Submap | 4~17 | |||
LMP_SAM_DEFINE_MAP | 17 | (127<<8) | 36 | SAM_Index | 3 |
TSAM_SM | 4 | |||
NSAM_SM | 5 | |||
SAM_Submaps | 6~17 | |||
LMP_SAM_SWITCH | 9 | (127<<8) | 37 | SAM_Index | 3 |
Timing_Control_Flags | 4 | |||
DSAM | 5 | |||
SAM_Instant | 6~9 |
반응형
'블루투스 > Link Manager' 카테고리의 다른 글
LMP Opcode - Parameter 설명 추가 (0) | 2023.01.14 |
---|---|
LMP feature mask (0) | 2023.01.13 |
Controller Error Code (0) | 2023.01.13 |
Bluetooth ACL 연결 과정 개요 (0) | 2023.01.06 |
Bluetooth Piconet, Scatternet, 그리고 Role Switch (0) | 2022.12.15 |