Re: [PATCH] vsprintf: add Bluetooth UUID %pU[rR] format specifier

2013-10-19 Thread Joe Perches
On Sun, 2013-10-20 at 00:30 +0200, Marcel Holtmann wrote: > Hi Joe, Hi Marcel > > Could there ever be a little endian reversed UUID? > I honestly do not know. I looked at the little endian one and it > looked a bit heavy misplaced if we would use a reversed stream of > bytes. > > Might it be usef

Re: [PATCH] vsprintf: add Bluetooth UUID %pU[rR] format specifier

2013-10-19 Thread Marcel Holtmann
Hi Joe, >> The Bluetooth UUID is used in big endian reversed order. Add new >> modifier to print a UUID in big endian, but where the input byte >> stream is actually in reversed order. >> This is similar to %pMR that allows to print a MAC address in >> reversed order since that is how the Bluetoot

Re: [PATCH] vsprintf: add Bluetooth UUID %pU[rR] format specifier

2013-10-19 Thread Joe Perches
On Sat, 2013-10-19 at 09:25 -0700, Marcel Holtmann wrote: > The Bluetooth UUID is used in big endian reversed order. Add new > modifier to print a UUID in big endian, but where the input byte > stream is actually in reversed order. > This is similar to %pMR that allows to print a MAC address in > r

[PATCH] vsprintf: add Bluetooth UUID %pU[rR] format specifier

2013-10-19 Thread Marcel Holtmann
The Bluetooth UUID is used in big endian reversed order. Add new modifier to print a UUID in big endian, but where the input byte stream is actually in reversed order. This is similar to %pMR that allows to print a MAC address in reversed order since that is how the Bluetooth BD_ADDR is actually r