Skip to content

Commit

Permalink
add mesurement_type to config msg
Browse files Browse the repository at this point in the history
  • Loading branch information
svhoy committed Feb 9, 2024
1 parent fa85bf3 commit a66f17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sit_gateway/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ async def enable_notify(self, initiator_device):
async def distance_notifcation(
self, responder, sequence, measurement, distance, nlos, rssi, fpi
):
print(f"Test: {distance}")
if self.test_id is not None:
await self.bus.handle(
events.TestMeasurement(
Expand Down Expand Up @@ -232,6 +231,7 @@ async def setup_calibration(
"responder": 1,
"min_measurement": 0,
"max_measurement": calibration_setup.max_measurement,
"measurement_type": calibration_setup.measurement_type,
"rx_ant_dly": calibration_setup.rx_ant_dly,
"tx_ant_dly": calibration_setup.tx_ant_dly,
}
Expand Down

0 comments on commit a66f17d

Please sign in to comment.