/* Function for checking if given slot_no is an EID slot.  */
static bool is_eid(uint8_t slot_no, const uint8_t *p_eid_slots_configured, uint8_t num_eid_slots_configured)
/* Function for checking if given slot_no is an EID slot.  */
static bool is_eid(uint8_t slot_no, const uint8_t *p_eid_slots_configured, uint8_t num_eid_slots_configured)
{
    for (uint32_t i = 0; i < num_eid_slots_configured; ++i)
    {
        if (slot_no == p_eid_slots_configured[i])
        {
            return true;
        }
    }
    return false;
}