I am developing the system described in this photo and there is a serious problem with Multiroom connections.
Master and Slave connections and Source and Master connections are completely successful. (When I see the messages on the UART)
However, sometimes the Master or Slave does not sound.
Master will work perfectly with commands such as RemotePlay or RemotePause, and the slave will correctly identify the VS StreamState accordingly. But still, the sound does not play.
Attach the UART log of Master and Slave below. I would appreciate it if you could look at this log and give me some helpful information.
I have been asked by several questions to combine the demos provided by TI to create a new project that is not guaranteed to be reliable.
We understand it, and we would be very grateful if we could provide any help.
Multiroom Slave Log
atLinkKeyRequest: 58C5CB52ACF0 GAP_Authentication_Response success. RX01-SNK> atIOCapabilityResponse: 58C5CB52ACF0 Capabilities: Display Yes/No, MITM RX01-SNK> atIOCapabilityRequest: 58C5CB52ACF0 Auth success. RX01-SNK> atUserConfirmationRequest: 58C5CB52ACF0 Auto Accepting: 398410 GAP_Authentication_Response success. RX01-SNK>Un-handled Auth. Event. RX01-SNK> atLinkKeyCreation: 58C5CB52ACF0 tmp_PhoneStr : 58C5CB52ACF0 Stored_BoardStr : Link Key B: E21AE5017FAD98939396E732EDDBDC27 !!!!!!!!!!!Stored_Linkkey!!!!!!!!!!!! Stored_Linkkey : E21AE5017FAD98939396E732EDDBDC27 RX01-SNK> SPP Open Indication, ID: 0x0001, Board: 58C5CB52ACF0. SPP PORT : 1 Initiating Role Switch. RX01-SNK> SPP Port 1: Role Change Success. RX01-SNK> SPP Port 1: Role Change Failure (Status 0x00, Role 0x01). RX01-SNK>SPP PORT : 1 SPP Data Indication, ID: 0x0001, Length: 0x0010. SPP PORT : 1 Read: 16. Message: s6CECEB4C2FBC Role : s Stored_BoardStr : 6CECEB4C2FBC GAP_Set_Connectability_Mode(cmConnectable). GAP_Set_Discoverability_Mode(dmGeneralDiscoverable, 0). Entering MultiRoom Slave Mode Sample Freq: 44100 Read: 0. RX01-SNK>Connected to master 6CECEB4C2FBC. multiroom connect success // SPP connect SPP PORT : 1 SPP PORT : 2 SPP PORT : 0 SPP_Open_Remote_Port success, Serial Port ID = 3. VS StreamState:0 RX01-SNK> atLinkKeyRequest: 6CECEB4C2FBC GAP_Authentication_Response success. RX01-SNK> atIOCapabilityRequest: 6CECEB4C2FBC Auth success. RX01-SNK> atIOCapabilityResponse: 6CECEB4C2FBC Capabilities: No Input/Output RX01-SNK> VS StreamState:1 RX01-SNK> VS StreamState:1 RX01-SNK> atUserConfirmationRequest: 6CECEB4C2FBC Auto Accepting: 216741 GAP_Authentication_Response success. RX01-SNK>Un-handled Auth. Event. RX01-SNK> atLinkKeyCreation: 6CECEB4C2FBC tmp_PhoneStr : 6CECEB4C2FBC Stored_BoardStr : 6CECEB4C2FBC Link Key B: 196A511AA6B41F8C5B8AA4D0F9678F5D Stored_Linkkey : E21AE5017FAD98939396E732EDDBDC27 RX01-SNK> atAuthenticationStatus: 0 for 6CECEB4C2FBC RX01-SNK> etEncryption_Change_Result for 6CECEB4C2FBC, Status: 0x00, Mode: Enabled. RX01-SNK> VS StreamState:2 Sample Freq: 44100 RX01-SNK> SPP Open Confirmation, ID: 0x0003, Status 0x0000. Open Confirmation BD_ADDR : Confirm SPP Port : 3 SPP PORT : 1 SPP PORT : 2 SPP PORT : 3 Initiating Role Switch. RX01-SNK> VS StreamState:3 RX01-SNK> VS StreamState:2 RX01-SNK> SPP Port 3: Role Change Success. RX01-SNK> VS StreamState:3 RX01-SNK> HCI Mode Change Event, Status: 0x00, Connection Handle: 1, Mode: Sniff, Interval: 792 RX01-SNK> VS StreamState:2 RX01-SNK> VS StreamState:1 RX01-SNK> VS StreamState:1 RX01-SNK> VS StreamState:2 RX01-SNK> VS StreamState:3 RX01-SNK> VS StreamState:2 RX01-SNK> VS StreamState:2 RX01-SNK> VS StreamState:3 RX01-SNK> VS StreamState:2 RX01-SNK>d A3DP Stream is not opened yet. Function Error. RX01-SNK> VS StreamState:2 RX01-SNK> VS StreamState:3 RX01-SNK> VS StreamState:2
Multiroom Master Log
atLinkKeyRequest: 58C5CB52ACF0 GAP_Authentication_Response success. RX01-SNK> atIOCapabilityResponse: 58C5CB52ACF0 Capabilities: Display Yes/No, MITM RX01-SNK> atIOCapabilityRequest: 58C5CB52ACF0 Auth success. RX01-SNK> atUserConfirmationRequest: 58C5CB52ACF0 Auto Accepting: 429283 GAP_Authentication_Response success. RX01-SNK>Un-handled Auth. Event. RX01-SNK> atLinkKeyCreation: 58C5CB52ACF0 tmp_PhoneStr : 58C5CB52ACF0 Stored_BoardStr : Link Key B: FC1BEE8AB6A2C4566A44FEC844B82CDB !!!!!!!!!!!Stored_Linkkey!!!!!!!!!!!! Stored_Linkkey : FC1BEE8AB6A2C4566A44FEC844B82CDB RX01-SNK> SPP Open Indication, ID: 0x0001, Board: 58C5CB52ACF0. SPP PORT : 1 Initiating Role Switch. RX01-SNK> SPP Port 1: Role Change Success. RX01-SNK> SPP Port 1: Role Change Failure (Status 0x00, Role 0x01). RX01-SNK>SPP PORT : 1 SPP Data Indication, ID: 0x0001, Length: 0x0010. SPP PORT : 1 Read: 16. Message: m6CECEB4C2FC5 Role : m Stored_BoardStr : 6CECEB4C2FC5 GAP_Set_Discoverability_Mode(dmGeneralDiscoverable, 0). GAP_Set_Connectability_Mode(cmConnectable). Entering master mode. Read: 0. RX01-SNK>Connected to 6CECEB4C2FC5 (2). Enabling multi-room mode on the slave... multi-room SUCCESS RX01-SNK> etAUD_Signalling_Channel_Open_Indication BD_ADDR: 58C5CB52ACF0 !!!!!!s_isAppConnected = TRUE!!!!! Stored_BoardStr A : 6CECEB4C2FC5 Stored_PhoneStr : 58C5CB52ACF0 RX01-SNK> atIOCapabilityResponse: 6CECEB4C2FC5 Capabilities: No Input/Output RX01-SNK> atIOCapabilityRequest: 6CECEB4C2FC5 Auth success. RX01-SNK> etAUD_Stream_Open_Indication BD_ADDR: 58C5CB52ACF0 MediaMTU: 800 StreamType: SNK A3DP Open: 0 Sample Freq: 44100 RX01-SNK> SPP Port 1: Role Change Success. RX01-SNK> atUserConfirmationRequest: 6CECEB4C2FC5 Auto Accepting: 216741 GAP_Authentication_Response success. RX01-SNK> SPP Port 1: Role Change Failure (Status 0x00, Role 0x01). RX01-SNK>Un-handled Auth. Event. RX01-SNK> atLinkKeyCreation: 6CECEB4C2FC5 tmp_PhoneStr : 6CECEB4C2FC5 Stored_BoardStr : 6CECEB4C2FC5 Link Key B: 196A511AA6B41F8C5B8AA4D0F9678F5D Stored_Linkkey : FC1BEE8AB6A2C4566A44FEC844B82CDB RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Started A3DP Start: 0 RX01-SNK> SPP Open Indication, ID: 0x0002, Board: 6CECEB4C2FC5. SPP PORT : 1 SPP PORT : 2 Stored_BoardStr B : 6CECEB4C2FC5 RX01-SNK> SPP Port 2: Role Change Failure (Status 0x00, Role 0x01). RX01-SNK> etAUD_Remote_Control_Open_Indication BD_ADDR: 58C5CB52ACF0 RX01-SNK> etAUD_Stream_Close_Indication BD_ADDR: 58C5CB52ACF0 StreamType: 0 DisconnectReason: 0 A3DP Stop: 0 A3DP Close: 0 RX01-SNK> etAUD_Remote_Control_Close_Indication BD_ADDR: 58C5CB52ACF0 DisconnectReason: 0 RX01-SNK> etAUD_Signalling_Channel_Close_Indication BD_ADDR: 58C5CB52ACF0 DisconnectReason: 0 RX01-SNK> etAUD_Signalling_Channel_Open_Indication BD_ADDR: 58C5CB52ACF0 !!!!!!s_isAppConnected = TRUE!!!!! Stored_BoardStr A : 6CECEB4C2FC5 Stored_PhoneStr : 58C5CB52ACF0 RX01-SNK> etAUD_Stream_Open_Indication BD_ADDR: 58C5CB52ACF0 MediaMTU: 800 StreamType: SNK A3DP Open: 0 Sample Freq: 44100 RX01-SNK> SPP Port 1: Role Change Success. RX01-SNK> SPP Port 1: Role Change Failure (Status 0x00, Role 0x01). RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Started A3DP Start: 0 RX01-SNK> etAUD_Remote_Control_Open_Indication BD_ADDR: 58C5CB52ACF0 RX01-SNK>remotepuase Invalid Command: REMOTEPUASE. RX01-SNK>remotepause AVRCP command sent successfully. RX01-SNK> etAUD_Remote_Control_Command_Confirmation BD_ADDR: 58C5CB52ACF0 TransactionID: 2 ConfirmationStatus: 0 Pass Through Response Code: 0x09 Successfully paused stream RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Suspended A3DP Stop: 0 RX01-SNK>remoteplay AVRCP command sent successfully. RX01-SNK> etAUD_Remote_Control_Command_Confirmation BD_ADDR: 58C5CB52ACF0 TransactionID: 4 ConfirmationStatus: 0 Pass Through Response Code: 0x09 Successfully started stream RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Started A3DP Start: 0 RX01-SNK>remotepause AVRCP command sent successfully. RX01-SNK> etAUD_Remote_Control_Command_Confirmation BD_ADDR: 58C5CB52ACF0 TransactionID: 6 ConfirmationStatus: 0 Pass Through Response Code: 0x09 Successfully paused stream RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Suspended A3DP Stop: 0 RX01-SNK>remoteplay AVRCP command sent successfully. RX01-SNK> etAUD_Remote_Control_Command_Confirmation BD_ADDR: 58C5CB52ACF0 TransactionID: 8 ConfirmationStatus: 0 Pass Through Response Code: 0x09 Successfully started stream RX01-SNK> etAUD_Stream_State_Change_Indication BD_ADDR: 58C5CB52ACF0 StreamType: SNK StreamState: Started A3DP Start: 0 RX01-SNK> SPP Close Port, ID: 0x0001 SPP PORT : 1 LocalSerialPortID : 1 Stored_PortID : 2 Stored_BoardStr : 6CECEB4C2FC5 !!!!!!!!!!!!!!!!!!CloseRemoteServer!!!!!!!!!!!!!!!!!! SPP PORT : 1 Port Context Cleared. App Disconnected RX01-SNK> etAUD_Stream_Close_Indication BD_ADDR: 58C5CB52ACF0 StreamType: 0 DisconnectReason: 0 A3DP Stop: -57 A3DP Close: 0 RX01-SNK> etAUD_Remote_Control_Close_Indication BD_ADDR: 58C5CB52ACF0 DisconnectReason: 0 RX01-SNK> etAUD_Signalling_Channel_Close_Indication BD_ADDR: 58C5CB52ACF0 DisconnectReason: 0
atLinkKeyRequest: 58C5CB52ACF0GAP_Authentication_Response success.
RX01-SNK>atIOCapabilityResponse: 58C5CB52ACF0Capabilities: Display Yes/No, MITM
RX01-SNK>atIOCapabilityRequest: 58C5CB52ACF0Auth success.
RX01-SNK>atUserConfirmationRequest: 58C5CB52ACF0
Auto Accepting: 429283GAP_Authentication_Response success.
RX01-SNK>Un-handled Auth. Event.
RX01-SNK>atLinkKeyCreation: 58C5CB52ACF0tmp_PhoneStr : 58C5CB52ACF0Stored_BoardStr :Link Key B: FC1BEE8AB6A2C4566A44FEC844B82CDB!!!!!!!!!!!Stored_Linkkey!!!!!!!!!!!!Stored_Linkkey : FC1BEE8AB6A2C4566A44FEC844B82CDB
RX01-SNK>SPP Open Indication, ID: 0x0001, Board: 58C5CB52ACF0.SPP PORT : 1
Initiating Role Switch.
RX01-SNK>SPP Port 1: Role Change Success.
RX01-SNK>SPP Port 1: Role Change Failure (Status 0x00, Role 0x01).
RX01-SNK>SPP PORT : 1
SPP Data Indication, ID: 0x0001, Length: 0x0010.SPP PORT : 1Read: 16.Message:m6CECEB4C2FC5Role : m
Stored_BoardStr : 6CECEB4C2FC5GAP_Set_Discoverability_Mode(dmGeneralDiscoverable, 0).GAP_Set_Connectability_Mode(cmConnectable).Entering master mode.Read: 0.
RX01-SNK>Connected to 6CECEB4C2FC5 (2).Enabling multi-room mode on the slave...multi-room SUCCESS
RX01-SNK>etAUD_Signalling_Channel_Open_IndicationBD_ADDR: 58C5CB52ACF0
!!!!!!s_isAppConnected = TRUE!!!!!
Stored_BoardStr A : 6CECEB4C2FC5Stored_PhoneStr : 58C5CB52ACF0
RX01-SNK>atIOCapabilityResponse: 6CECEB4C2FC5Capabilities: No Input/Output
RX01-SNK>atIOCapabilityRequest: 6CECEB4C2FC5Auth success.
RX01-SNK>etAUD_Stream_Open_IndicationBD_ADDR: 58C5CB52ACF0MediaMTU: 800StreamType: SNKA3DP Open: 0Sample Freq: 44100
RX01-SNK>SPP Port 1: Role Change Success.
RX01-SNK>atUserConfirmationRequest: 6CECEB4C2FC5
Auto Accepting: 216741GAP_Authentication_Response success.
RX01-SNK>SPP Port 1: Role Change Failure (Status 0x00, Role 0x01).
RX01-SNK>Un-handled Auth. Event.
RX01-SNK>atLinkKeyCreation: 6CECEB4C2FC5tmp_PhoneStr : 6CECEB4C2FC5Stored_BoardStr : 6CECEB4C2FC5Link Key B: 196A511AA6B41F8C5B8AA4D0F9678F5DStored_Linkkey : FC1BEE8AB6A2C4566A44FEC844B82CDB
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: StartedA3DP Start: 0
RX01-SNK>SPP Open Indication, ID: 0x0002, Board: 6CECEB4C2FC5.SPP PORT : 1SPP PORT : 2Stored_BoardStr B : 6CECEB4C2FC5
RX01-SNK>SPP Port 2: Role Change Failure (Status 0x00, Role 0x01).
RX01-SNK>etAUD_Remote_Control_Open_IndicationBD_ADDR: 58C5CB52ACF0
RX01-SNK>etAUD_Stream_Close_IndicationBD_ADDR: 58C5CB52ACF0StreamType: 0DisconnectReason: 0A3DP Stop: 0A3DP Close: 0
RX01-SNK>etAUD_Remote_Control_Close_IndicationBD_ADDR: 58C5CB52ACF0DisconnectReason: 0
RX01-SNK>etAUD_Signalling_Channel_Close_IndicationBD_ADDR: 58C5CB52ACF0DisconnectReason: 0
RX01-SNK>etAUD_Signalling_Channel_Open_IndicationBD_ADDR: 58C5CB52ACF0
!!!!!!s_isAppConnected = TRUE!!!!!
Stored_BoardStr A : 6CECEB4C2FC5Stored_PhoneStr : 58C5CB52ACF0
RX01-SNK>etAUD_Stream_Open_IndicationBD_ADDR: 58C5CB52ACF0MediaMTU: 800StreamType: SNKA3DP Open: 0Sample Freq: 44100
RX01-SNK>SPP Port 1: Role Change Success.
RX01-SNK>SPP Port 1: Role Change Failure (Status 0x00, Role 0x01).
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: StartedA3DP Start: 0
RX01-SNK>etAUD_Remote_Control_Open_IndicationBD_ADDR: 58C5CB52ACF0
RX01-SNK>remotepuaseInvalid Command: REMOTEPUASE.
RX01-SNK>remotepauseAVRCP command sent successfully.
RX01-SNK>etAUD_Remote_Control_Command_ConfirmationBD_ADDR: 58C5CB52ACF0TransactionID: 2ConfirmationStatus: 0Pass Through Response Code: 0x09Successfully paused stream
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: SuspendedA3DP Stop: 0
RX01-SNK>remoteplayAVRCP command sent successfully.
RX01-SNK>etAUD_Remote_Control_Command_ConfirmationBD_ADDR: 58C5CB52ACF0TransactionID: 4ConfirmationStatus: 0Pass Through Response Code: 0x09Successfully started stream
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: StartedA3DP Start: 0
RX01-SNK>remotepauseAVRCP command sent successfully.
RX01-SNK>etAUD_Remote_Control_Command_ConfirmationBD_ADDR: 58C5CB52ACF0TransactionID: 6ConfirmationStatus: 0Pass Through Response Code: 0x09Successfully paused stream
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: SuspendedA3DP Stop: 0
RX01-SNK>remoteplayAVRCP command sent successfully.
RX01-SNK>etAUD_Remote_Control_Command_ConfirmationBD_ADDR: 58C5CB52ACF0TransactionID: 8ConfirmationStatus: 0Pass Through Response Code: 0x09Successfully started stream
RX01-SNK>etAUD_Stream_State_Change_IndicationBD_ADDR: 58C5CB52ACF0StreamType: SNKStreamState: StartedA3DP Start: 0
RX01-SNK>SPP Close Port, ID: 0x0001SPP PORT : 1LocalSerialPortID : 1Stored_PortID : 2Stored_BoardStr : 6CECEB4C2FC5!!!!!!!!!!!!!!!!!!CloseRemoteServer!!!!!!!!!!!!!!!!!!SPP PORT : 1Port Context Cleared.App Disconnected
RX01-SNK>etAUD_Stream_Close_IndicationBD_ADDR: 58C5CB52ACF0StreamType: 0DisconnectReason: 0A3DP Stop: -57A3DP Close: 0
RX01-SNK>etAUD_Remote_Control_Close_IndicationBD_ADDR: 58C5CB52ACF0DisconnectReason: 0
RX01-SNK>etAUD_Signalling_Channel_Close_IndicationBD_ADDR: 58C5CB52ACF0DisconnectReason: 0
