using System;

namespace QCRPG.TSL.BT.Packets;

public class Rssi2bytesExpression
{
	public static string Rssi2bytesToString(uint value)
	{
		return (double)(short)((BitConverter.GetBytes(value)[1] << 8) | BitConverter.GetBytes(value)[0]) / 10.0 + " dBm";
	}
}
