MARTEL Nicolas

Send temperature

Discussion created by MARTEL Nicolas on Jan 20, 2009
Latest reply on Jan 21, 2009 by MARTEL Nicolas
Hi all,
I use codewarrior 5.9
With a SRB (end point) I get temperature. The temperature sensor is a LM16B.
But when I send temperature (22°C for exemple) to my NCB (coordinator), my NCB receives 65°C.
In debug mode with SRB my data is 22.
In debug mode with NCB my data is 65 ?!
Do you help me please?
Why it isn't the same data? 
my program in SRB :
  ASL_MatchDescriptor_req( NULL, 0x0000, AF_FindEndPointDesc(appEndPoint) );