1 Embedded Intelligence in IoT-Based Mixed-2 Criticality Connected Healthcare Applications : 3 Requirements , Research Achievements and 4 Challenges 5