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
9
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
27
33void task_bt_scanner_fn(struct k_work *work);
34
42#define BT_SCANNER_TASK(define_mem, define_config, ...) \
43 IF_ENABLED(define_config, ({.name = "btsc", \
44 .task_id = TASK_ID_BT_SCANNER, \
45 .exec_type = TASK_EXECUTOR_WORKQUEUE, \
46 .executor.workqueue = { \
47 .worker_fn = task_bt_scanner_fn, \
48 }}))
49
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BT_SCANNER_H_ */
void task_bt_scanner_fn(struct k_work *work)
Bluetooth scanner runner function.
Autogenerated task runner task IDs.
Task Runner task scheduling.
Task Runner Task API.