nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_rpc_gatt_subscribe_flag_get()

int bt_rpc_gatt_subscribe_flag_get ( struct bt_gatt_subscribe_params * params,
uint32_t flags_bit )

#include <include/bluetooth/bt_rpc.h>

Get flag value from the flags field of the bt_gatt_subscribe_params structure.

This function must be used instead of atomic_test_bit() if you are using BLE API over RPC.

Parameters
paramsSubscribe parameters.
flags_bitIndex of bit to test.
Returns
Flag value in case of success or negative value in case of error.