diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c
index 61e6745..e82513b 100644
--- a/profiles/gatt/gas.c
+++ b/profiles/gatt/gas.c
if (list == NULL)
return;
- if (format != 0x01)
+ if (format != ATT_FIND_INFO_RESP_FMT_16BIT)
goto done;
for (i = 0; i < list->num; i++) {
diff --git a/profiles/input/hog_device.c b/profiles/input/hog_device.c
index 5a1de12..10c5a45 100644
--- a/profiles/input/hog_device.c
+++ b/profiles/input/hog_device.c
if (list == NULL)
return;
- if (format != 0x01)
+ if (format != ATT_FIND_INFO_RESP_FMT_16BIT)
goto done;
for (i = 0; i < list->num; i++) {
diff --git a/profiles/thermometer/thermometer.c b/profiles/thermometer/thermometer.c
index ad352a9..6652a41 100644
--- a/profiles/thermometer/thermometer.c
+++ b/profiles/thermometer/thermometer.c
desc->handle = att_get_u16(value);
desc->ch = ch;
- if (format == 0x01)
+ if (format == ATT_FIND_INFO_RESP_FMT_16BIT)
desc->uuid = att_get_uuid16(&value[2]);
else
desc->uuid = att_get_uuid128(&value[2]);