This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MCP lod file details

i would like to know what the logs mean in MCP log file,. AS follow: 3563;11:19:08.9590 [480108198][ReadPacketQueueThread] Serial port read: 02-00-20-14-00-10-00-04-00-1D-0E-00-06-84-0F-00-FE-DC-07-0C-05-0B-32-2D-04 3564;11:19:08.9590 [480108198][ReadPacketQueueThread] Received packet: AttHandleValueIndication, 1D-0E-00-06-84-0F-00-FE-DC-07-0C-05-0B-32-2D-04, Handle: 0x000E, Value: 06-84-0F-00-FE-DC-07-0C-05-0B-32-2D-04 3565;11:19:08.9600 [480108198][ScriptThread] WRITE DATA PACKET:01-00-04-00-1E 3566;11:19:08.9600 [480108198][ScriptThread] Sending packet: AttHandleValueConfirmation, 1E 3567;11:19:08.9610 [480108198][ScriptThread] Serial port write: 02-00-00-05-00-01-00-04-00-1E 3568;11:19:08.9610 [480108198][ScriptThread] Data buffer queue length (+1): 1 3569;11:19:08.9610 [480108198][ScriptThread] Number of data packets sent: 165 3570;11:19:08.9610 [480108198][ScriptThread] Received a HandleValueIndication on handle 000E with value 06840F00FEDC070C050B322D04 3571;11:19:09.4581 [480108198][ReadPacketQueueThread] Serial port read: 02-00-20-08-00-04-00-04-00-1B-12-00-19 3572;11:19:09.4581 [480108198][ReadPacketQueueThread] Received packet: AttHandleValueNotification, 1B-12-00-19, Handle: 0x0012, Value: 19 3573;11:19:09.4591 [480108198][ReadPacketQueueThread] Serial port read: 04-13-05-01-00-00-01-00 3574;11:19:09.4591 [480108198][ReadPacketQueueThread] HCI event: BTLE_EVENT_NUMBER_OF_COMPLETED_PACKETS, NumberOfHandles: 1, ConnectionHandle: 0x0000, NumberOfPackets: 1 3575;11:19:09.4591 [480108198][ReadPacketQueueThread] Data buffer queue length: 0 3576;11:19:09.4611 [480108198][ScriptThread] Received a HandleValueNotification on handle 0012 with value 19 3577;11:19:10.9582 [480108198][ReadPacketQueueThread] Serial port read: 02-00-20-08-00-04-00-04-00-1B-12-00-19 3578;11:19:10.9582 [480108198][ReadPacketQueueThread] Received packet: AttHandleValueNotification, 1B-12-00-19, Handle: 0x0012, Value: 19 3579;11:19:10.9602 [480108198][ScriptThread] Received a HandleValueNotification on handle 0012 with value 19

  1. what the "[ReadPacketQueueThread] Serial port read: " mean ? is the packet content ?
  2. what the "[ReadPacketQueueThread] Received packet: " mean ? is the packet explanation by MCP?
  3. what the "AttHandleValueIndication, 1D-0E-00-06-84-0F-00-FE-DC-07-0C-05-0B-32-2D-04, Handle: 0x000E, Value: 06-84-0F-00-FE-DC-07-0C-05-0B-32-2D-04" mean ?
  4. what the "[ScriptThread]" mean ?
  • Hi,

    First a little background: MCP communicates with Master Emulator Firmware (MEFW) over HCI on Bluetooth UART (H4) transport protocol. The pca10000 dongle runs MEFW and is connected to the PC through virtual serial port over USB.

    Now, to answer your questions:

    1. what the "[ReadPacketQueueThread] Serial port read: "

    Specifies the HCI packet that has been received over serial port from MEFW.

    1. what the "[ReadPacketQueueThread] Received packet: " mean ?

    The same packet that was received in 1) but parsed by MCP for improved readability.

    1. what the "AttHandleValueIndication, ..." mean?

    Specifies that the received packet was an ATT Handle Value Indication packet, and what the ATT Handle and Value (payload) of that indication was.

    1. What the [ScriptThread] mean?

    The brackets [] specify the name of the current thread. ScriptThread is a thread that runs most of the BLE stack logic.

Related