21 Commits

Author SHA1 Message Date
Matthias Ringwald
0ad702f3bc btstack_run_loop: assert callbacks for timer and data source are set 2021-02-08 09:33:59 +01:00
Matthias Ringwald
141177f8b5 btstack_run_loop: use assert for not implemented functions 2021-01-28 15:49:53 +01:00
Matthias Ringwald
3a2e210743 btstack_run_loop: support de-init 2021-01-18 21:34:45 +01:00
Matthias Ringwald
27e0577870 btstack_run_loop: use btstack_assert() instead of local version 2020-08-24 17:53:58 +02:00
Matthias Ringwald
9192020a66 remove <stdio.h>, <stdlib.h> and printf from most core files 2020-07-07 22:52:12 +02:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
398a95ec8e run_loop: avoid anonymous union 2018-07-05 23:07:52 +02:00
Matthias Ringwald
f04a41aef7 btstack_run_loop: add btstack_run_loop_set_data_source_handle and btstack_run_loop_get_data_source_handle (for windows) 2018-07-05 22:54:18 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
4ea196a400 btstack_run_loop: don't return of void function 2016-07-07 11:26:05 +02:00
Matthias Ringwald
0d70dd6280 runloop: pass enable/disable callbacks to run loop impl 2016-03-24 22:19:26 +01:00
Matthias Ringwald
24ced5a6f6 runloop: enable callback for all data sources 2016-03-24 22:12:50 +01:00
Matthias Ringwald
896424b78e runloop: add data source callback type to ds handler 2016-03-24 21:53:42 +01:00
Matthias Ringwald
3a5c43eebf runloop: set data source fd by new setter 2016-03-24 20:04:14 +01:00
Matthias Ringwald
fd93975622 run_loop: add context to timer source 2016-02-01 22:03:18 +01:00
Matthias Ringwald
43ed83b192 drop use of exit in rum_loop.c 2016-01-21 22:13:10 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
15d50271a2 run_loop.c -> btstack_run_loop.c 2016-01-20 15:10:33 +01:00