• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PacketLogger Question on [HCI COMMAND] LE Connection Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PacketLogger Question on [HCI COMMAND] LE Connection Update


  • Subject: PacketLogger Question on [HCI COMMAND] LE Connection Update
  • From: Mark Gill <email@hidden>
  • Date: Thu, 19 Feb 2015 16:27:32 -0500

Hello,

I am issuing a command from a peripheral sensor I'm developing to change the connection interval on OS X. In PacketLogger I see this HCI Event:

[Feb 19 16:21:08.776]  [HCI EVENT]  LE Meta Event - LE Connection Update Complete
               LE Meta Event - LE Connection Update Complete
               Parameter Length: 10 (0x0A)
               LE Connection Update Complete
               Status: 0000
               Connection_Handle: 0x0040
               Conn_Interval: 0x0018, (30 ms)
               Conn_Latency: 0x0002, (60 ms)
               Supervision_Timeout: 0x0064, (1000 ms)


Which is setting the interval appropriately. I then get another message not much later setting it to what appears to be the default value of 100 mS.

[Feb 19 16:21:09.076]  [HCI COMMAND]  [2013] LE Connection Update - Connection Handle: 0x0040
               [2013] LE Connection Update - Connection Handle: 0x0040
               Opcode: 0x2013 (OGF: 0x08    OCF: 0x13)
               Parameter Length: 14 (0x0E)
               Connection Handle:   0x0040
               Conn Interval Min: 0x0050 (100 ms)
               Conn Interval Max: 0x00a0 (200 ms)
               Conn Slave Latency: 0x0000 (0)
               Supervision Timeout: 0x01F4 (5000 ms)
               Minimum CE Length:   0x0000
               Maximum CE Length:   0xFFFF



Every message that happens between these two is lised below. I am unable to spot what is causing the second update to occur. Does anyone have any suggestions? This problem does occur every time I connect and use my sensor.


[Feb 19 16:21:08.590]  [KERNEL DEBUG]  [0xffffff8026cbc000] [IOBluetoothHCIRequest][Start] --  OpCode 0x2013 (LE Connection Update) from: blued (57)  Synchronous  status: 0x00 (kIOReturnSuccess) state: 2 (BUSY) timeout: 6543
[Feb 19 16:21:08.592]  [HCI EVENT]  Command Status - LE Connection Update
[Feb 19 16:21:08.593]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called mWorkLoop->addEventSource(aclMemDescriptor->ACLTimer) -- result = kIOReturnSuccess -- mNumOutstandingACLPackets = 2, aclMemDescriptor = 0xffffff802454d100, timer = 0xffffff802db2b380
[Feb 19 16:21:08.593]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called aclMemDescriptor->ACLTimer->setTimeoutMS() -- result = kIOReturnSuccess -- Start ACL Packet timer -- mNumOutstandingACLPackets = 2, aclMemDescriptor = 0xffffff802454d100, timer = 0xffffff802db2b380
[Feb 19 16:21:08.593]  [ATT Send]  Read By Type Request - Start Handle:0x0001 - End Handle:0xffff - UUID:2A00 (Device Name)
[Feb 19 16:21:08.612]  [LMP IN]  [SEND]Low Energy LL Control PDU LMP Message - [0x00] Connection Update Req
[Feb 19 16:21:08.612]  [KERNEL DEBUG]  **** [BroadcomBluetoothHostControllerUSBTransport][LMPLoggingBulkInReadHandler] -- mInt2BulkInPipe->Read() success
[Feb 19 16:21:08.657]  [HCI EVENT]  Number of Completed Packets - Connection Handle: 0x0040 - Packets: 0x0002  
[Feb 19 16:21:08.658]  [NOTE]  **** [IOBluetoothDevice][decrementNumberOfOutstandingPacketsBy] -- calling removeEventSource() -- hostController = 0xffffff801a75b000, mNumOutstandingACLPackets = 3, aclPacket = 0xffffff80244d3000, aclPacket->ACLTimer = 0xffffff801fbd1e00 ****
[Feb 19 16:21:08.658]  [NOTE]  **** [IOBluetoothDevice][decrementNumberOfOutstandingPacketsBy] -- calling removeEventSource() -- hostController = 0xffffff801a75b000, mNumOutstandingACLPackets = 3, aclPacket = 0xffffff80244d2200, aclPacket->ACLTimer = 0xffffff8019424600 ****
[Feb 19 16:21:08.679]  [ATT Receive]  Read By Type Response
[Feb 19 16:21:08.680]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called mWorkLoop->addEventSource(aclMemDescriptor->ACLTimer) -- result = kIOReturnSuccess -- mNumOutstandingACLPackets = 1, aclMemDescriptor = 0xffffff80241ef800, timer = 0xffffff802878c100
[Feb 19 16:21:08.680]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called aclMemDescriptor->ACLTimer->setTimeoutMS() -- result = kIOReturnSuccess -- Start ACL Packet timer -- mNumOutstandingACLPackets = 1, aclMemDescriptor = 0xffffff80241ef800, timer = 0xffffff802878c100
[Feb 19 16:21:08.680]  [ATT Send]  Read By Group Type Request - Start Handle:0x0001 - End Handle:0xffff - UUID:2800 (GATT Primary Service Declaration)
[Feb 19 16:21:08.702]  [HCI EVENT]  Number of Completed Packets - Connection Handle: 0x0040 - Packets: 0x0002  
[Feb 19 16:21:08.702]  [NOTE]  **** [IOBluetoothDevice][decrementNumberOfOutstandingPacketsBy] -- calling removeEventSource() -- hostController = 0xffffff801a75b000, mNumOutstandingACLPackets = 2, aclPacket = 0xffffff802454d100, aclPacket->ACLTimer = 0xffffff802db2b380 ****
[Feb 19 16:21:08.702]  [NOTE]  **** [IOBluetoothDevice][decrementNumberOfOutstandingPacketsBy] -- calling removeEventSource() -- hostController = 0xffffff801a75b000, mNumOutstandingACLPackets = 2, aclPacket = 0xffffff80241ef800, aclPacket->ACLTimer = 0xffffff802878c100 ****
[Feb 19 16:21:08.724]  [ATT Receive]  Read By Group Type Response
[Feb 19 16:21:08.725]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called mWorkLoop->addEventSource(aclMemDescriptor->ACLTimer) -- result = kIOReturnSuccess -- mNumOutstandingACLPackets = 0, aclMemDescriptor = 0xffffff802491b600, timer = 0xffffff801982c500
[Feb 19 16:21:08.725]  [KERNEL DEBUG]  **** [IOBluetoothHCIController][SendACLData] -- called aclMemDescriptor->ACLTimer->setTimeoutMS() -- result = kIOReturnSuccess -- Start ACL Packet timer -- mNumOutstandingACLPackets = 0, aclMemDescriptor = 0xffffff802491b600, timer = 0xffffff801982c500
[Feb 19 16:21:08.725]  [ATT Send]  Read By Group Type Request - Start Handle:0x0023 - End Handle:0xffff - UUID:2800 (GATT Primary Service Declaration)

Thank you,
Marko Gill 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Bluetooth 4 LE on MacPro5,1, how ?
  • Previous by thread: Bluetooth 4 LE on MacPro5,1, how ?
  • Index(es):
    • Date
    • Thread