-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopping a stream from unknown source #175
Comments
On 1/22/2015 7:07 AM, gspreeth wrote:
Did you remove the talker or the listener? Andrew Elder |
You can remove either. The remaining talker or listener will report stream the same as if the other one was still there. |
If the listener is still on the network, you can send an ACMP DISCONNECT command. This may be an endstation issue rather than a controller issue. |
I am testing with a mix of devices, but with a 2Ch devboard from XMOS a listener reports the following: This is the only board on the network, the talker was disconnected. COMMAND_SENT, 0x2297fffe0043d1, DISCONNECT_RX_COMMAND, NULL, NULL, SUCCESS, 1 0 I get a not connected response back and nothing changes. RESPONSE_RECEIVED, 0x2297fffe0043d1, DISCONNECT_RX_RESPONSE, NULL, NULL, NOT_CONNECTED, 1 0 Any idea where I am going wrong with this? Thanks a lot. |
A listener that receives the ACMP DISCONNECT_RX_COMMAND message from a Controller is required to execute the state machine described in IEEE Std 1722.1-2013 Clause 8.2.2.5.3 The Listener would go into DISCONNECT_RX_COMMAND State which says: if(validListenerUnique(rcvdCmdResp.listener_unique_id)) This means that your connection count on the listener side should have been decreased. AFTER that, the listener sends the ACMP DISCONNECT_TX_COMMAND message to the talker. f(inflight[x].retried) which basically says that there could be a LISTENER_TALKER_TIMEOUT error coming back to the controller. So it is clear that the listener that you are sending the command to does not have the correct ACMP Listener State machine programmed. Regards,
|
Thanks for the help! |
Hi, I have a scenario where I start a stream between two devices. Now I close down the controller and remove one of the devices from the network. When running the controller again the remaining device will still report an active stream but as we do not have the other end point available the normal disconnect command cannot be used. Is there any way to force the device to remove the connection from itself or disconnect a "one sided" connection..
Thank you in advance..
The text was updated successfully, but these errors were encountered: