Text this: Adaptive middleware for the internet of things :