41 Commits

Author SHA1 Message Date
Milanka Ringwald
b45b7749fd MISRAC2012-Rule-8.3_b: match function declaration and definition 2021-06-03 11:35:40 +02:00
Matthias Ringwald
41f9be703f avoid function param modification 2021-06-02 19:11:43 +02:00
Milanka Ringwald
fe5a6c4e96 src: add title to header files 2021-05-28 11:21:09 +02:00
Matthias Ringwald
5ebc82273f btstack_util: avoid signed/unsigned mix 2020-07-15 20:50:09 +02:00
Matthias Ringwald
3c9da642e7 btstack_util: provide btstack_replace_bd_addr_placeholder 2020-04-30 17:26:11 +02:00
Matthias Ringwald
68af39674d btstack_util: btstack_time_delta provides delta between two timestamps 2019-07-20 08:50:21 +02:00
Matthias Ringwald
80e33422a9 Use FILENAME_H as include guard (MISRAC2012-Rule-21.1) 2019-05-11 19:08:52 +02:00
Milanka Ringwald
adbdd27a95 btstack_util: add little_endian_store_24 2018-11-01 09:44:07 +01:00
Milanka Ringwald
53c654feee btstack util: fix docu 2018-03-14 15:52:40 +01:00
Milanka Ringwald
d1207cd896 avrcp target: notifications and fragmentation 2017-10-06 17:04:42 +02:00
Matthias Ringwald
63dd1c760e prefix crc8_* to btstack_crc8_* 2017-10-03 16:49:03 +02:00
Matthias Ringwald
1f41c2c9f7 move crc8 from rfcomm.h to btstack_util.h 2017-10-03 16:47:24 +02:00
Milanka Ringwald
b0920f2551 fix warnings in bluedroid and avdtp 2017-05-27 17:39:23 +02:00
Matthias Ringwald
5222912b1f util: mark all read-only arguments as const 2017-04-06 14:13:15 +02:00
Milanka Ringwald
e57a25456e util: add read big endian 24 2017-02-10 11:07:03 +01:00
Milanka Ringwald
7f535380ac add big_endian_store_24 2017-02-10 11:07:03 +01:00
Matthias Ringwald
5d86890cc5 util: add flip16 and endianess checks 2017-01-26 21:58:54 +01:00
Matthias Ringwald
f54850a92d add API_START/API_END to linked list and util 2016-12-02 16:28:36 +01:00
Matthias Ringwald
5d067ab1c4 util: add btstack_util 2016-11-15 17:24:55 +01:00
Matthias Ringwald
cc7a2d7835 util: add reverse_256 2016-05-27 16:40:53 +02:00
Matthias Ringwald
ebaeb1be2d util: add btstack_min, btstack_max for uint32 2016-05-10 09:36:33 +02:00
Matthias Ringwald
877f40f3bc add prototype for nibble_for_char 2016-03-04 14:25:42 +01:00
Matthias Ringwald
a6efb91912 rewrite sscanf_bd_addr to be sscanf free 2016-03-04 14:21:22 +01:00
Matthias Ringwald
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +01:00
Matthias Ringwald
8314c363bc introduce log_info_key and log_info_hexdump, move prototypes to btstack_debug.h 2016-02-11 14:53:59 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
73988a59ce util.h: use functions instead of static inline/macros. sscan_bd_addr -> sscanf_bd_addr 2016-02-11 14:19:26 +01:00
Matthias Ringwald
cbabbca4a7 util.h: replace macros with static inlined functions 2016-02-11 14:02:16 +01:00
Matthias Ringwald
e1a125df32 util.h: new names uuid_has_bluetooth_prefix();uuid_add_bluetooth_prefix() 2016-02-10 17:12:50 +01:00
Matthias Ringwald
058e3d6b6b util.h: use lower case for bd_addr_copy and bd_addr_cmp 2016-02-10 17:09:24 +01:00
Matthias Ringwald
c9b8fdd998 fix typo in big_endian_read_32 2016-02-10 17:03:30 +01:00
Matthias Ringwald
1b0524c477 util.h: remove printUUID128 2016-02-10 17:01:26 +01:00
Matthias Ringwald
aa4d01c707 util.h: remove print_bd_addr 2016-02-10 13:43:31 +01:00
Matthias Ringwald
b1c4ef5fa8 util.h: move crc8 to rfcomm 2016-02-10 13:38:47 +01:00
Matthias Ringwald
caed94df78 util.h: move some to hci.h and btstack_link_key_db_fs 2016-02-10 13:35:25 +01:00
Matthias Ringwald
8974fcd6cf move Bluetooth related types to bluetooth.h and BTstack types to btstack_defines.h 2016-02-10 11:35:31 +01:00
Matthias Ringwald
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +01:00
Matthias Ringwald
8d471f5c5a add btstack_packet_callback_registration_t 2016-02-03 11:59:48 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
bf1b35bfe3 util: add swap48. don't use array notation in arguments 2016-01-29 17:26:18 +01:00
Matthias Ringwald
eb8860135e fix missing bstack_ for struct data_source and struct timer. utils->btstack_util 2016-01-20 16:10:07 +01:00