Hi Vinicius, > Sorry if this comes too late, but here's an idea: > > How about changing the name of the functions to something a little > more high level, for example: in attrib/att.h we have > att_{get,put}_u16() that uses the byte order defined in the ATT spec > (little endian). > > So my suggestion is to have bt_{get,put}_u*() and sdp_{get,put}_u* > functions (perhaps also no_{get,put}_u* for cases when we use the host > byte order). The bt_ functions will be used for everything that uses > the Bluetooth byte order and the sdp_ ones for SDP, which is the only > case of Big Endian defined by Bluetooth, correct me if I am wrong. lets not try to be too smart. We want the code clearly identify what endian is expected. Same as the kernel handles this. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html