mac_async_write

Write raw data to MAC.

int32_t mac_async_write(
    struct mac_async_descriptor *const descr,
    uint8_t * buf,
    uint32_t len
)

Write the raw data to the MAC that will be transmitted

Parameters

descr

Type: struct mac_async_descriptor Struct *const

Pointer to the HAL MAC descriptor.

buf

Type: uint8_t *

Pointer to the data buffer.

len

Type: uint32_t

Length of the data buffer.

Returns

Type: int32_t

Operation status.

ERR_NONE

Success.