AIROC™ BTSDK v4.2 - Documentation | ||||
AIROC Generic Attribute (GATT) Application Programming Interface definitions. More...
Macros | |
#define | GATT_ILLEGAL_UUID 0 |
#define | GATT_UUID_PRI_SERVICE 0x2800 |
#define | GATT_UUID_SEC_SERVICE 0x2801 |
#define | GATT_UUID_INCLUDE_SERVICE 0x2802 |
#define | GATT_UUID_CHAR_DECLARE 0x2803 /* Characteristic Declaration*/ |
#define | GATT_UUID_CHAR_EXT_PROP 0x2900 /* Characteristic Extended Properties */ |
#define | GATT_UUID_CHAR_DESCRIPTION 0x2901 /* Characteristic User Description*/ |
#define | GATT_UUID_CHAR_CLIENT_CONFIG 0x2902 /* Client Characteristic Configuration */ |
#define | GATT_UUID_CHAR_SRVR_CONFIG 0x2903 /* Server Characteristic Configuration */ |
#define | GATT_UUID_CHAR_PRESENT_FORMAT 0x2904 /* Characteristic Presentation Format*/ |
#define | GATT_UUID_CHAR_AGG_FORMAT 0x2905 /* Characteristic Aggregate Format*/ |
#define | GATT_UUID_CHAR_VALID_RANGE 0x2906 /* Characteristic Valid Range */ |
#define | GATT_UUID_EXT_RPT_REF_DESCR 0x2907 |
#define | GATT_UUID_RPT_REF_DESCR 0x2908 |
#define | GATT_UUID_GAP_DEVICE_NAME 0x2A00 |
#define | GATT_UUID_GAP_ICON 0x2A01 |
#define | GATT_UUID_GAP_PREF_CONN_PARAM 0x2A04 |
#define | GATT_UUID_GAP_CENTRAL_ADDR_RESOL 0x2AA6 |
#define | GATT_UUID_GATT_SRV_CHGD 0x2A05 |
#define | GATT_UUID_ALERT_LEVEL 0x2A06 /* Alert Level */ |
#define | GATT_UUID_TX_POWER_LEVEL 0x2A07 /* TX power level */ |
#define | GATT_UUID_CURRENT_TIME 0x2A2B /* Current Time */ |
#define | GATT_UUID_LOCAL_TIME_INFO 0x2A0F /* Local time info */ |
#define | GATT_UUID_REF_TIME_INFO 0x2A14 /* reference time information */ |
#define | GATT_UUID_NW_STATUS 0x2A18 /* network availability status */ |
#define | GATT_UUID_NW_TRIGGER 0x2A1A /* Network availability trigger */ |
#define | GATT_UUID_ALERT_STATUS 0x2A3F /* alert status */ |
#define | GATT_UUID_RINGER_CP 0x2A40 /* ringer control point */ |
#define | GATT_UUID_RINGER_SETTING 0x2A41 /* ringer setting */ |
#define | GATT_UUID_GM_MEASUREMENT 0x2A18 |
#define | GATT_UUID_GM_CONTEXT 0x2A34 |
#define | GATT_UUID_GM_CONTROL_POINT 0x2A52 |
#define | GATT_UUID_GM_FEATURE 0x2A51 |
#define | GATT_UUID_SYSTEM_ID 0x2A23 |
#define | GATT_UUID_MODEL_NUMBER_STR 0x2A24 |
#define | GATT_UUID_SERIAL_NUMBER_STR 0x2A25 |
#define | GATT_UUID_FW_VERSION_STR 0x2A26 |
#define | GATT_UUID_HW_VERSION_STR 0x2A27 |
#define | GATT_UUID_SW_VERSION_STR 0x2A28 |
#define | GATT_UUID_MANU_NAME 0x2A29 |
#define | GATT_UUID_IEEE_DATA 0x2A2A |
#define | GATT_UUID_PNP_ID 0x2A50 |
#define | GATT_UUID_HID_INFORMATION 0x2A4A |
#define | GATT_UUID_HID_REPORT_MAP 0x2A4B |
#define | GATT_UUID_HID_CONTROL_POINT 0x2A4C |
#define | GATT_UUID_HID_REPORT 0x2A4D |
#define | GATT_UUID_HID_PROTO_MODE 0x2A4E |
#define | GATT_UUID_HID_BT_KB_INPUT 0x2A22 |
#define | GATT_UUID_HID_BT_KB_OUTPUT 0x2A32 |
#define | GATT_UUID_HID_BT_MOUSE_INPUT 0x2A33 |
#define | GATT_UUID_BATTERY_LEVEL 0x2A19 |
#define | GATT_UUID_SC_CONTROL_POINT 0x2A55 |
#define | GATT_UUID_SENSOR_LOCATION 0x2A5D |
#define | GATT_UUID_RSC_MEASUREMENT 0x2A53 |
#define | GATT_UUID_RSC_FEATURE 0x2A54 |
#define | GATT_UUID_CSC_MEASUREMENT 0x2A5B |
#define | GATT_UUID_CSC_FEATURE 0x2A5C |
#define | GATT_UUID_CP_MEASUREMENT 0x2A63 |
#define | GATT_UUID_CP_VECTOR 0x2A64 |
#define | GATT_UUID_CP_FEATURE 0x2A65 |
#define | GATT_UUID_CP_CONTROL_POINT 0x2A66 |
#define | GATT_UUID_LN_LOC_AND_SPEED 0x2A67 |
#define | GATT_UUID_LN_NAVIGATION 0x2A68 |
#define | GATT_UUID_LN_POSITION_QUALITY 0x2A69 |
#define | GATT_UUID_LN_FEATURE 0x2A6A |
#define | GATT_UUID_LN_CONTROL_POINT 0x2A6B |
#define | GATT_UUID_CLIENT_SUPPORTED_FEATURES 0x2B29 /* Client supported features */ |
#define | GATT_UUID_GATT_DATABASE_HASH 0x2B2A /* GATT Robust caching */ |
#define | GATT_UUID_SERVER_SUPPORTED_FEATURES 0x2B3A /* Server supported features */ |
#define | GATT_UUID_HPS_URI 0x7F11 |
#define | GATT_UUID_HPS_HEADERS 0x7F12 |
#define | GATT_UUID_HPS_STATUS_CODE 0x7F13 |
#define | GATT_UUID_HPS_ENTITY_BODY 0x7F14 |
#define | GATT_UUID_HPS_CONTROL_POINT 0x7F15 |
#define | GATT_UUID_HPS_SERCURITY 0x7F16 |
#define | GATT_UUID_SCAN_INT_WINDOW 0x2A4F |
#define | GATT_UUID_SCAN_REFRESH 0x2A31 |
#define | IS_CHAR_DECLARATION_UUID(type) ((type.len == 2) && (type.uu.uuid16 == GATT_UUID_CHAR_DECLARE)) |
#define | IS_CHAR_CLIENT_CONFIG_UUID(type) ((type.len == 2) && (type.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG)) |
Enumerations | |
enum | gatt_appearance_e { APPEARANCE_GENERIC_PHONE = 64, APPEARANCE_GENERIC_COMPUTER = 128, APPEARANCE_GENERIC_WATCH = 192, APPEARANCE_WATCH_SPORTS = 193, APPEARANCE_GENERIC_CLOCK = 256, APPEARANCE_GENERIC_DISPLAY = 320, APPEARANCE_GENERIC_REMOTE_CONTROL = 384, APPEARANCE_GENERIC_EYE_GLASSES = 448, APPEARANCE_GENERIC_TAG = 512, APPEARANCE_GENERIC_KEYRING = 576, APPEARANCE_GENERIC_MEDIA_PLAYER = 640, APPEARANCE_GENERIC_BARCODE_SCANNER = 704, APPEARANCE_GENERIC_THERMOMETER = 768, APPEARANCE_THERMOMETER_EAR = 769, APPEARANCE_GENERIC_HEART_RATE_SENSOR = 832, APPEARANCE_HEART_RATE_BELT = 833, APPEARANCE_GENERIC_BLOOD_PRESSURE = 896, APPEARANCE_BLOOD_PRESSURE_ARM = 897, APPEARANCE_BLOOD_PRESSURE_WRIST = 898, APPEARANCE_GENERIC_HID_DEVICE = 960, APPEARANCE_HID_KEYBOARD = 961, APPEARANCE_HID_MOUSE = 962, APPEARANCE_HID_JOYSTICK = 963, APPEARANCE_HID_GAMEPAD = 964, APPEARANCE_HID_DIGITIZER_TABLET = 965, APPEARANCE_HID_CARD_READER = 966, APPEARANCE_HID_DIGITAL_PEN = 967, APPEARANCE_HID_BARCODE_SCANNER = 968, APPEARANCE_GENERIC_GLUCOSE_METER = 1024, APPEARANCE_GENERIC_RUNNING_WALKING_SENSOR = 1088, APPEARANCE_RUNNING_WALKING_SENSOR_IN_SHOE = 1089, APPEARANCE_RUNNING_WALKING_SENSOR_ON_SHOE = 1090, APPEARANCE_RUNNING_WALKING_SENSOR_ON_HIP = 1091, APPEARANCE_GENERIC_CYCLING = 1152, APPEARANCE_CYCLING_COMPUTER = 1153, APPEARANCE_CYCLING_SPEED_SENSOR = 1154, APPEARANCE_CYCLING_CADENCE_SENSOR = 1155, APPEARANCE_CYCLING_POWER_SENSOR = 1156, APPEARANCE_CYCLING_SPEED_AND_CADENCE_SENSOR = 1157, APPEARANCE_CONTROL_DEVICE_SWITCH = 1217, APPEARANCE_CONTROL_DEVICE_MULTI_SWITCH = 1218, APPEARANCE_CONTROL_DEVICE_BUTTON = 1219, APPEARANCE_CONTROL_DEVICE_SLIDER = 1220, APPEARANCE_CONTROL_DEVICE_ROTARY = 1221, APPEARANCE_CONTROL_DEVICE_TOUCH_PANEL = 1222, APPEARANCE_NETWORK_DEVICE = 1280, APPEARANCE_ACCESS_POINT = 1281, APPEARANCE_SENSOR_GENERIC = 1344, APPEARANCE_SENSOR_MOTION = 1345, APPEARANCE_SENSOR_AIR_QUALITY = 1346, APPEARANCE_SENSOR_TEMPERATURE = 1347, APPEARANCE_SENSOR_HUMIDITY = 1348, APPEARANCE_SENSOR_LEAK = 1349, APPEARANCE_SENSOR_SMOKE = 1350, APPEARANCE_SENSOR_OCCUPANCY = 1351, APPEARANCE_SENSOR_CONTACT = 1352, APPEARANCE_SENSOR_CARBON_MONOXIDE = 1353, APPEARANCE_SENSOR_CARBON_DIOXIDE = 1354, APPEARANCE_SENSOR_AMBIENT_LIGHT = 1355, APPEARANCE_SENSOR_ENERGY = 1356, APPEARANCE_SENSOR_COLOR_LIGHT = 1357, APPEARANCE_SENSOR_RAIN = 1358, APPEARANCE_SENSOR_FIRE = 1359, APPEARANCE_SENSOR_WIND = 1360, APPEARANCE_SENSOR_PROXYMITY = 1361, APPEARANCE_SENSOR_MULTI_SENSOR = 1362, APPEARANCE_LIGHT_GENERIC_FIXTURE = 1408, APPEARANCE_LIGHT_WALL = 1409, APPEARANCE_LIGHT_CEILING = 1410, APPEARANCE_LIGHT_FLOOR = 1411, APPEARANCE_LIGHT_CABINET = 1412, APPEARANCE_LIGHT_DESK = 1413, APPEARANCE_LIGHT_TROFFER = 1414, APPEARANCE_LIGHT_PENDANT = 1415, APPEARANCE_LIGHT_IN_GROUND = 1416, APPEARANCE_LIGHT_FLOOD = 1417, APPEARANCE_LIGHT_UNDERWATER = 1418, APPEARANCE_LIGHT_BOLLAR = 1419, APPEARANCE_LIGHT_PATHWAY = 1420, APPEARANCE_LIGHT_GARDEN = 1421, APPEARANCE_LIGHT_POLE = 1422, APPEARANCE_LIGHT_SPOTLIGHT = 1423, APPEARANCE_LIGHT_LINEAR = 1424, APPEARANCE_LIGHT_STREET = 1425, APPEARANCE_LIGHT_SHELVE = 1426, APPEARANCE_LIGHT_HIGH_BAY_LOW_BAY = 1427, APPEARANCE_LIGHT_EMERGENCY_EXIT = 1428, APPEARANCE_LOCATION_AND_NAVIGATION_POD = 5188 } |
GATT appearance definitions. More... | |
AIROC Generic Attribute (GATT) Application Programming Interface definitions.