| /* |
| * |
| * BlueZ - Bluetooth protocol stack for Linux |
| * |
| * Copyright (C) 2018 Intel Corporation. All rights reserved. |
| * |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser General Public |
| * License as published by the Free Software Foundation; either |
| * version 2.1 of the License, or (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| * Lesser General Public License for more details. |
| * |
| */ |
| |
| #define COLOR_OFF "\x1B[0m" |
| #define COLOR_RED "\x1B[0;91m" |
| #define COLOR_GREEN "\x1B[0;92m" |
| #define COLOR_YELLOW "\x1B[0;93m" |
| #define COLOR_BLUE "\x1B[0;94m" |
| |
| unsigned int num_columns(void); |
| |
| void print_packet(const char *label, const void *data, uint16_t size); |