Home
last modified time | relevance | path

Searched refs:max_cpy_len (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c1758 const size_t max_cpy_len = sizeof(scan_filter.addr) - 1; in cmd_scan_filter_set_addr() local
1763 if (len > max_cpy_len) { in cmd_scan_filter_set_addr()
1779 strncpy(scan_filter.addr, addr_arg, max_cpy_len); in cmd_scan_filter_set_addr()
1780 scan_filter.addr[max_cpy_len] = '\0'; /* ensure NULL termination */ in cmd_scan_filter_set_addr()