Text this: An Adaptive Framework for Real-Time ECG Transmission in Mobile Environments