zephyr::raw

Function bt_addr_cmp

source
pub unsafe extern "C" fn bt_addr_cmp(
    a: *const bt_addr_t,
    b: *const bt_addr_t,
) -> i32
Expand description

@brief Compare Bluetooth device addresses.

@param a First Bluetooth device address to compare @param b Second Bluetooth device address to compare

@return negative value if @a a < @a b, 0 if @a a == @a b, else positive