[context is crazyflie python client]
according to http://wiki.bitcraze.se/projects:crazyf ... ent_access a TOC element packet will have in its byte 1 the index of the next element to fetch, and in its byte 2 its ID and in its byte 3 the type.
However a LogElement uses data[0] as ident and data[1] as type (cflib/crazyflie/log.py).
Byte 0 (0x00 to identify the command) is stripped from the response in TOCFetcher (cflib/crazyflie/toc.py), but that's all as far as I can see. So data[0] would be the next element to fetch and not the ident. Actually the "next element index" is something that is not used anywhere so I am guessing it is not coming in the packet? Otherwise this could be a bug where all elements IDs have the ident of the next element instead. Maybe this is happening without breaking anything since but there would be an element with 0xFF ident then...
I hope I have explained myself well.. I'd be grateful if some of the developers could clarify

Thanks.