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

◆ wifi_kmu_write_key()

int wifi_kmu_write_key ( uint32_t slot_id,
uint32_t target_addr,
const uint8_t * key_buffer,
size_t key_size )

#include <include/wifi_kmu/wifi_kmu.h>

Function to write Wi-Fi key via KMU.

This function allows writing keys to an external Wi-Fi core via KMU for nRF71 series devices. The KMU is the only peripheral that has access to do this operation

Parameters
[in]slot_idThe ID of the slot to write the key to.
[in]target_addrThe Address to write the key to in external core.
[in]key_bufferThe buffer containing the key.
[in]key_sizeThe size of the key buffer in bytes.
Returns
0 on success, otherwise a negative error code