Exemple #1
0
 def _extract_configuration_request(packet):
     frame = L2capMatchers.control_frame_with_code(
         packet, CommandCode.CONFIGURATION_REQUEST)
     return l2cap_packets.ConfigurationRequestView(frame)
Exemple #2
0
 def _extract_connection_response(packet):
     frame = L2capMatchers.control_frame_with_code(
         packet, CommandCode.CONNECTION_RESPONSE)
     return l2cap_packets.ConnectionResponseView(frame)