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.

CC3200 Multicast Drop (Leave Membership)

Other Parts Discussed in Thread: CC3200

I am working on a system that uses multicast groups to send data. The handshake is that when my CC3200 device joins a group, the server will start sending multicast packets. When the device is done receiving data, it is supposed to send a leave message.

I am able to send a join request to the server, which it receives and then starts sending data on the requested multicast address.

The code I use to join the group is:

sl_SetSockOpt(iSockID, SL_IPPROTO_IP, SL_IP_ADD_MEMBERSHIP, &MultiGroup, sizeof(MultiGroup));

However, the CC3200 doesn't send a leave group message when I use the following:

sl_SetSockOpt(iSockID, SL_IPPROTO_IP, SL_IP_DROP_MEMBERSHIP, &MultiGroup, sizeof(MultiGroup));

Any insight as to what I need to do to have the CC3200 actually send a "leave group" message?

Kind regards,


KC