Leveraging the Benefits of Edge Computing in Medical IoT Devices