Connected-Healthcare / b_l475e_iot01a_sensors

0 stars 0 forks source link

Negative coordinates generated but not seen in TI board and TCP server. #13

Open ganeshram93 opened 3 years ago

ganeshram93 commented 3 years ago

Sent by ST board: AP6H GPS: Latitude(deg): 3719.957520 | Longitude(deg): -12154.776367

Received by TI board: BTN-1 pressed: Sent the Msg: RLOC16:b000,30.39,40.40,31.00,1017.53,164,-430,-364,-19,-32,1028,1610,-2520,420,147,76,98,1483,24,51,3719.95,12154.77 BTN-1 pressed: Sent the Msg: RLOC16:b000,30.39,40.29,31.00,1017.59,160,-426,-364,-19,-31,1027,1610,-2450,420,146,76,98,1480,24,51,3719.95,12154.77

Received in Windows PC TCP server: CO Gas Concentration 1483 HTS221_temperature 30.20 HTS221_humidity 40.20 Lps22hb_temperature 30.80 Lps22hb_pressure 1017.50 Time_of_flight 1515 Magnetometer 173 -434 -369 Acceleration -18 -29 1027 Gyroscope 1610 -2520 350 Heartrate 69 Oxygen 98 Latitude 3719.97 Longitude 12154.79

coder137 commented 3 years ago

This is an issue with the float conversion in the utility module