Infuse-IoT SDK API
0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_scanner.h
Go to the documentation of this file.
1
10
#ifndef INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BT_SCANNER_H_
11
#define INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BT_SCANNER_H_
12
13
#include <
infuse/task_runner/task.h
>
14
#include <
infuse/task_runner/schedule.h
>
15
16
#include <
infuse/task_runner/tasks/infuse_task_ids.h
>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
27
void
task_bt_scanner_fn
(
struct
k_work *work);
28
36
#define BT_SCANNER_TASK(define_mem, define_config, ...) \
37
IF_ENABLED(define_config, ({.name = "btsc", \
38
.task_id = TASK_ID_BT_SCANNER, \
39
.exec_type = TASK_EXECUTOR_WORKQUEUE, \
40
.executor.workqueue = { \
41
.worker_fn = task_bt_scanner_fn, \
42
}}))
43
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
/* INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BT_SCANNER_H_ */
task_bt_scanner_fn
void task_bt_scanner_fn(struct k_work *work)
Bluetooth scanner runner function.
infuse_task_ids.h
schedule.h
Task Runner task scheduling.
task.h
Task Runner Task API.
infuse
task_runner
tasks
bt_scanner.h
Generated on Thu Sep 11 2025 11:38:52 for Infuse-IoT SDK API by
1.12.0