Fixed some bugs, trasmitting temperature to the PAN coordinator