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
15
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27void 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_ */
void task_bt_scanner_fn(struct k_work *work)
Bluetooth scanner runner function.
Task Runner task scheduling.
Task Runner Task API.