nRF Connect SDK API
3.4.99
Loading...
Searching...
No Matches
◆
srv_store_num_get()
int srv_store_num_get
(
void
)
#include <
server_store.h
>
Get the number of stored servers.
Note
srv_store_lock()
must be called before accessing this function.
Do not iterate through the servers, as they may not be stored consecutively in memory. Use the
srv_store_foreach_func_t
function.
Return values
Number
of servers.
-EINVAL
Non-consecutive server storage detected.
-ENOENT
Server not found in storage.
Storage on unicast client of remote unicast servers.
Generated on
for nRF Connect SDK API by
1.15.0