aws-iot to device communication.
i am trying to control two bulbs in my home using aws-iot. I can subscribe two topics say "Home/bulb1" and "Home/bulb2" and i am able to publish messages using MQTT client. But i dont understand how devices(say bulbs) will respond immediately after publishing to their relavant topics? ie, how to get that published messages from a topic immediately fter publishing to control bulbs.Can anyone help??