site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com User-agent: Microsoft-Entourage/9.0.6.8320
First: why don't you just do it this way: BluetoothHCIVersionInfo hciVersionStructure
Yes, sorry forget to mention, I can't do that because in my "IDE" I have no header access. I have to count the bytes myself - long story as I said. ;-)
about the extra bytes, they are probably padding put by the compiler (the size of hciVersionStructure is indeed 10 bytes).
Yes, that is the answer. The UInt8 are padded so the following UInt16 are at their two byte boundary. Good I asked. Sorry and thanks. I will test my structs with sizeof in a normal IDE in the future. _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com