Mobile devices as gateways in M2M communication, emerging solutions to security challenges, and the bright future for the Internet of Things.