Commit: 848a0b8339c12ae417b88f7ec2279f10d0c9e591
Parent: 45eb43e85efdbba6932905686d9b91397aaf37d2
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-03-20 19:29:49
Tree: 751d2a7483199a71e3f7d29a82d722532baad2be

shared: Add bswap_128() Adds a new helper to swap 128-bit values. It is intended to be used for GATT 128-bit UUID handling, converting 128-bit UUID from big-endian to little-endian (or the opposite). No matter the system, bt_uuid_t should always store 128-bit UUID value using big-endian format (similar to human-readable format).

Diffstat

M src/shared/util.h | 10 ++++++++++

1 files changed, 10 insertions(+), 0 deletions(-)

View Full Diff | Patch