Wearable devices: challenges and opportunities