nRF Connect SDK API 0.1.0
|
#define BT_SCAN_CB_INIT | ( | _name, | |
match_fun, | |||
no_match_fun, | |||
error_fun, | |||
connecting_fun | |||
) |
#include <include/bluetooth/scan.h>
Initializing macro for scanning module.
This is macro initializing necessary structures for bt_scan_cb type.
[in] | _name | Unique name for bt_scan_cb structure. |
[in] | match_fun | Scan filter matched function pointer. |
[in] | no_match_fun | Scan filter unmatched (the device was not found) function pointer. |
[in] | error_fun | Error when connecting function pointer. |
[in] | connecting_fun | Connecting data function pointer. |