Intelligent Device-to-Device Communication in the Internet of Things | Synapse