Hi
Please have a loop at the Core V4.0 Bluetooth Specification, see the HCI section.
https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=229737
And yes, the 3rd byte, if we count the HCI packet type, denotes the length of the remaining data. So you didn't receive the full event packet probably.
Best
Matthias
On 18.08.2012, at 15:56, mindentropy wrote:
> When I send a read local version information i.e. {0x01,0x01,0x10,0x00} command I get the reply as 0x04,0x0E,0x0C,0x0F,0x1B. I understood that the 0x04 is event packet. 0x0E is the command complete event. I am not able to understand what is 0x0C,0x0F and 0x1B is? Shouldn't 0x0C be the parameter total length? If yes isn't it wrong?
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/btstack-dev/-/T3VIfa0gvmsJ.
> To post to this group, send email to
btsta...@googlegroups.com.
> To unsubscribe from this group, send email to
btstack-dev...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/btstack-dev?hl=en.