In Watson IoT can we publish events and subscribe for commands using the same auth-token on the Device?
<p>What is the approach to be followed (on the device) if we have to publish events to cloud and subscribe for MQTT messages on the Device at the same time using the auth-token provided by the Watson IoT platform.
When we try to publish to a topic when the device has already subscribed to some topics then the connection is lost. What would be the right approach to be followed in order to publish and subscribe at the same time?
The details of the MQTT connection are as follows,</p>

<pre><code>Client id- &lt;d:orgId:deviceType:deviceId&gt;
Username - use-token-auth
Password - &lt;platform-generated-token&gt;
</code></pre>