'Unregister a raw buffer receive callback.
Parameters
callback : function
The callback to unregister.'

def unregister_receive_callback(self, callback):

    if (callback in self._recv_callbacks):
        self._recv_callbacks.remove(callback)
