/* NOTE: there are two "pages" of event masks; the first page is for event codes between 0 and 63 and the second page is for event codes 64 and greater. */
bool ble_ll_hci_is_event_enabled(unsigned int evcode)
/* NOTE: there are two "pages" of event masks; the first page is for event codes between 0 and 63 and the second page is for event codes 64 and greater. */
bool ble_ll_hci_is_event_enabled(unsigned int evcode)
{
    if (evcode >= 64) {
        return g_ble_ll_hci_event_mask2 & (1ull << (evcode - 64));
    }
    return g_ble_ll_hci_event_mask & (1ull << (evcode - 1));
}