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

Network scan task. More...

Go to the source code of this file.

Macros

#define NETWORK_SCAN_TASK(define_mem, define_config, _unused)
 Battery task.
 

Functions

void network_scan_task_fn (struct k_work *work)
 Network scan task function.
 

Detailed Description

Network scan 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

◆ NETWORK_SCAN_TASK

#define NETWORK_SCAN_TASK ( define_mem,
define_config,
_unused )
Value:
IF_ENABLED(define_config, ({.name = "nsc", \
.task_id = TASK_ID_NETWORK_SCAN, \
.exec_type = TASK_EXECUTOR_WORKQUEUE, \
.executor.workqueue = { \
.worker_fn = network_scan_task_fn, \
}}))
@ TASK_ID_NETWORK_SCAN
Definition infuse_task_ids.h:29
@ TASK_EXECUTOR_WORKQUEUE
Task runs on the system workqueue.
Definition task.h:33
void network_scan_task_fn(struct k_work *work)
Network scan task function.

Battery task.

Parameters
define_memDefine memory
define_configDefine task
_unusedNo argument required

Function Documentation

◆ network_scan_task_fn()

void network_scan_task_fn ( struct k_work * work)

Network scan task function.

Parameters
workDelayable work item