Optimize the format of package; check if the st_read return an len bigger then sizeof(buf); fix the package decode when the attached package arrived.