Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_scanner.h File Reference

Bluetooth scanner task. More...

Go to the source code of this file.

Macros

#define BT_SCANNER_TASK(define_mem, define_config, ...)
 Bluetooth scanner task.
 

Functions

void task_bt_scanner_fn (struct k_work *work)
 Bluetooth scanner runner function.
 

Detailed Description

Bluetooth scanner task.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Macro Definition Documentation

◆ BT_SCANNER_TASK

#define BT_SCANNER_TASK ( define_mem,
define_config,
... )
Value:
IF_ENABLED(define_config, ({.name = "btsc", \
.task_id = TASK_ID_BT_SCANNER, \
.exec_type = TASK_EXECUTOR_WORKQUEUE, \
.executor.workqueue = { \
.worker_fn = task_bt_scanner_fn, \
}}))
void task_bt_scanner_fn(struct k_work *work)
Bluetooth scanner runner function.
@ TASK_ID_BT_SCANNER
Definition infuse_task_ids.h:30
@ TASK_EXECUTOR_WORKQUEUE
Task runs on the system workqueue.
Definition task.h:33

Bluetooth scanner task.

Parameters
define_memDefine memory (None required)
define_configDefine task
...Compile-time argument unused

Function Documentation

◆ task_bt_scanner_fn()

void task_bt_scanner_fn ( struct k_work * work)

Bluetooth scanner runner function.

Parameters
workWork object