This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

does the wifi audio sample really running on bidirectional?

Other Parts Discussed in Thread: CC3200

I tried wifi audio samples on my launch board and audio module, as i only have one set, can not do the testing as wiki shows. i wrote a small program to capture and send out MIC audio of a Andriod phone(i created two threads on phone, one for capture UDP package, another one is send out UDP package), it working very good in single way(one direction), in details

1. when press the SW3, i can heard the voice from my phone very good - CC3200 send to phone

2. press again SW3 (turn off the audio send out from Launch board)

3. press the SW2, i can heard the voice from the CC3200 Launch board very good - phone send to CC3200

(above test based on unicast)

But the problem is, when i press on both switch, that is turn on sw2 then sw3 together, i can not heard voice from phone(CC3200 audio send to phone), but i can heard the voice from CC3200 (phone send to CC3200). just like a one direction communication, not bi-direction.

I checked the WIFI Audio sample codes,  the udp create function as following

long CreateUdpServer(tUDPSocket *pSock)

{
    int uiPort = AUDIO_PORT;
    long lRetVal = -1;
    
    pSock->iSockDesc = socket(AF_INET, SOCK_DGRAM, 0);
    pSock->Server.sin_family = AF_INET;
    pSock->Server.sin_addr.s_addr = htonl(INADDR_ANY);
    pSock->Server.sin_port = htons(uiPort);
    pSock->iServerLength = sizeof(pSock->Server);
    pSock->Client.sin_family = AF_INET;
    pSock->Client.sin_addr.s_addr = htonl(INVALID_CLIENT_ADDRESS);
    pSock->Client.sin_port = htons(uiPort);
    pSock->iClientLength = sizeof(pSock->Client);
    lRetVal = bind(pSock->iSockDesc,(struct sockaddr*)&(pSock->Server),
                 pSock->iServerLength);
    ASSERT_ON_ERROR(lRetVal);
    return SUCCESS;
}
it is only created one UDP socket and shared by speaker and micophone task, as i watched from ADT debug of Andriod phone, when i pressed SW2 (mean open the speaker), the microphone will stopped send out UDP package, when turn off SW2, the microphone will send out UDP package again.
It is weird, so, my question, does the WIFI audio example can do the bi-direction? 
Thank you