Here is the source code of the utility I wrote for changing slave address and baudrate. You will find the message format in the comments.