Bluetooth: Add enum for UUID types
UUID types don't come from any spec so it is safe to have a enum which can be changed whenever we want. Change-Id: I7549f3a487191eeb847a239936f882ff88f4d345 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
06383eae4f
commit
0b21762db2
1 changed files with 5 additions and 2 deletions
|
@ -32,8 +32,11 @@
|
|||
#ifndef __BT_UUID_H
|
||||
#define __BT_UUID_H
|
||||
|
||||
#define BT_UUID_16 0x00
|
||||
#define BT_UUID_128 0x01
|
||||
/* Bluetooth UUID types */
|
||||
enum bt_uuid_type {
|
||||
BT_UUID_16,
|
||||
BT_UUID_128,
|
||||
};
|
||||
|
||||
/* Bluetooth UUID structure */
|
||||
struct bt_uuid {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue