short channelHandel = (short)((((short)packet[3]) & 0xff) | (((short)packet[4]) & 0xff) << 8);
L2CAPChannel channel = channels[channelHandel];
channels[channelHandel] = null;
if (channel != null) {
channel.channelState = L2CAPChannel.CLOSED;
channel.wasDisconnected();
}
}
private void receive_L2CAP_Packet(byte[] packet) {
short channelHandel = (short)((((short)packet[3]) & 0xff) | (((short)packet[4]) & 0xff) << 8);