btstack_util.h (6d7084813262308410501e1cf0c602a6ec2b0471) | btstack_util.h (d7d45b32136f1f4910d6c49cbbbb0c69b415073e) |
---|---|
1/* 2 * Copyright (C) 2014 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 --- 192 unchanged lines hidden (view full) --- 201 * @return true if all bytes in addr are zero 202 */ 203bool btstack_is_null_bd_addr( const bd_addr_t addr ); 204 205/** 206 * @brief ASCII character for 4-bit nibble 207 * @return character 208 */ | 1/* 2 * Copyright (C) 2014 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 --- 192 unchanged lines hidden (view full) --- 201 * @return true if all bytes in addr are zero 202 */ 203bool btstack_is_null_bd_addr( const bd_addr_t addr ); 204 205/** 206 * @brief ASCII character for 4-bit nibble 207 * @return character 208 */ |
209char char_for_nibble(int nibble); | 209char char_for_nibble(uint8_t nibble); |
210 211/** 212 * @brif 4-bit nibble from ASCII character 213 * @return value 214 */ 215int nibble_for_char(char c); 216 217/** --- 182 unchanged lines hidden --- | 210 211/** 212 * @brif 4-bit nibble from ASCII character 213 * @return value 214 */ 215int nibble_for_char(char c); 216 217/** --- 182 unchanged lines hidden --- |