28 Commits

Author SHA1 Message Date
Matthias Ringwald
9f1d8eee3d remove btstack_run_loop_base.h include from run loop implementations and tests 2021-03-08 10:45:31 +01:00
Matthias Ringwald
075edf12f9 btstack_run_loop_posix: use run loop base (code) 2021-03-05 11:46:58 +01:00
Matthias Ringwald
cb5a7fc3c5 posix: enumerate timers in in btstack_run_loop_posix_dump_timer 2020-11-16 21:19:05 +01:00
Milanka Ringwald
e0d13a1902 avoid warning for set but unused variables when log_info and log_error are disabled 2020-10-27 14:34:31 +01: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
d58a1b5f11 linked list/run loop: return true if item/data source/timer was removed 2019-11-27 18:23:11 +01:00
Matthias Ringwald
bd539f2b3e posix: fix warning 2019-10-05 12:09:05 +02:00
Matthias Ringwald
160fcf341f posix: assert timer is not already in list (only checks items until it finds correct position) 2019-10-04 11:28:02 +02:00
Matthias Ringwald
92b78dd714 posix: use monotonic clock as timebase if available 2019-08-12 14:58:52 +02:00
Matthias Ringwald
b6fc147f78 posix: handle time_ms overrun after 49 days 2019-08-04 19:52:27 +02: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
4b7565a250 posix: avoid crash when data source is removed and fd set to -1 2017-11-07 12:30:13 +01:00
Matthias Ringwald
b7832c7f15 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-04 15:27:27 +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
7c959318bb fix warnings related to potential loss of precision for integer conversions 2016-07-05 11:31:53 +02:00
Matthias Ringwald
88e0b3b2b2 posix: fix compile 2016-04-01 16:08:58 +02:00
Matthias Ringwald
615ae44436 posix: cleanup fast FTDI hack 2016-03-30 17:02:46 +02:00
Matthias Ringwald
d382f5313a fix compile 2016-03-30 15:06:15 +02:00
Matthias Ringwald
f316a84558 posix: use ms timeouts in run loop and also in hci.c 2016-03-30 15:03:26 +02:00
Matthias Ringwald
9120e843c2 runloop: implement data source callbacks for posix - also support write ready 2016-03-24 22:31:44 +01:00
Matthias Ringwald
0d70dd6280 runloop: pass enable/disable callbacks to run loop impl 2016-03-24 22:19:26 +01:00
Matthias Ringwald
7cd5ef9557 runloop: pass callback type to data source process functions 2016-03-24 20:46:20 +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
4ab92137d3 missing run_loop.c -> btstack_run_loop.c renames 2016-01-20 15:42:54 +01:00
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
b7d596c104 run_loop_X.c/h -> run_loop_X.c/h 2016-01-20 15:32:11 +01:00