Text this: Interconnection algorithm of a wide range of pervasive devices for the Internet of things