fix the send and receive for put device data

Change-Id: I913d5b7de4dbdea691eacb8b8496fe87972ee58d