change c code to use new data, which include sk and 320byte msg