btstack_defines.h (5b4ead15f46de46a5628f836c4361bc6d1a49a54) btstack_defines.h (3cbedd4337c5f865d4c28535558ba1f75f168a17)
1/*
2 * Copyright (C) 2015 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37
38/*
39 * btstack-defines.h
40 *
41 * BTstack definitions, events, and error codes */
42
43#ifndef BTSTACK_DEFINES_H
44#define BTSTACK_DEFINES_H
1/*
2 * Copyright (C) 2015 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37
38/*
39 * btstack-defines.h
40 *
41 * BTstack definitions, events, and error codes */
42
43#ifndef BTSTACK_DEFINES_H
44#define BTSTACK_DEFINES_H
45
46#include <stdint.h>
47
48#include "btstack_linked_list.h"
49
50// UNUSED macro
51#ifndef UNUSED
52#define UNUSED(x) (void)(sizeof(x))
53#endif

--- 3190 unchanged lines hidden (view full) ---

3244*/
3245#define GATTSERVICE_SUBEVENT_HID_INFORMATION 0x15
3246
3247/**
3248 * @format 1211
3249 * @param subevent_code
3250 * @param hids_cid
3251 * @param service_index
45#include <stdint.h>
46
47#include "btstack_linked_list.h"
48
49// UNUSED macro
50#ifndef UNUSED
51#define UNUSED(x) (void)(sizeof(x))
52#endif

--- 3190 unchanged lines hidden (view full) ---

3243*/
3244#define GATTSERVICE_SUBEVENT_HID_INFORMATION 0x15
3245
3246/**
3247 * @format 1211
3248 * @param subevent_code
3249 * @param hids_cid
3250 * @param service_index
3252 * @param protocol_mode see hid_protocol_mode_t in hid.h
3251 * @param protocol_mode see hid_protocol_mode_t in btstack_hid.h
3253*/
3254#define GATTSERVICE_SUBEVENT_HID_PROTOCOL_MODE 0x16
3255
3256/**
3257 * @format 121
3258 * @param subevent_code
3259 * @param hids_cid
3260 * @param configuration

--- 554 unchanged lines hidden ---
3252*/
3253#define GATTSERVICE_SUBEVENT_HID_PROTOCOL_MODE 0x16
3254
3255/**
3256 * @format 121
3257 * @param subevent_code
3258 * @param hids_cid
3259 * @param configuration

--- 554 unchanged lines hidden ---