⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

push_event

Function push_event 

Source
pub fn push_event(data: &[u8]) -> Result<(), KernelError>
Expand description

Push an HCI event into the device node’s event queue.

Called by the kernel HCI driver when an event is received from the Bluetooth controller. The event is queued for the next userland read().

The data should include the H4 event type byte (0x04) prefix.