Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/shell/
Dbt.c1599 const size_t max_cpy_len = sizeof(scan_filter.addr) - 1; in cmd_scan_filter_set_addr() local
1603 if (strlen(addr_arg) > max_cpy_len) { in cmd_scan_filter_set_addr()
1622 strncpy(scan_filter.addr, addr_arg, max_cpy_len); in cmd_scan_filter_set_addr()
1623 scan_filter.addr[max_cpy_len] = '\0'; /* ensure NULL termination */ in cmd_scan_filter_set_addr()