Recently I have installed zigbee stack to Beagle Bone Black. I understand that we can implement application using Zstack gateway api. By reading the source code of the demo app, I can only see the app send request to the server and wait for response.
Is there any way to request a "Stream" so that we can listen to certain TCP port for any incoming data packet?