using System;
using System.Text;
using QCRPG.Framework;

namespace QCRPG.TSL.BT.Packets;

public class CommandCompleteForReadRssi : PacketBase
{
	public class UserFieldsWrapper
	{
		public enum RssiEnum
		{
			RSSI_0_dBm,
			RSSI_1_dBm,
			RSSI_2_dBm,
			RSSI_3_dBm,
			RSSI_4_dBm,
			RSSI_5_dBm,
			RSSI_6_dBm,
			RSSI_7_dBm,
			RSSI_8_dBm,
			RSSI_9_dBm,
			RSSI_10_dBm,
			RSSI_11_dBm,
			RSSI_12_dBm,
			RSSI_13_dBm,
			RSSI_14_dBm,
			RSSI_15_dBm,
			RSSI_16_dBm,
			RSSI_17_dBm,
			RSSI_18_dBm,
			RSSI_19_dBm,
			RSSI_20_dBm,
			RSSI_21_dBm,
			RSSI_22_dBm,
			RSSI_23_dBm,
			RSSI_24_dBm,
			RSSI_25_dBm,
			RSSI_26_dBm,
			RSSI_27_dBm,
			RSSI_28_dBm,
			RSSI_29_dBm,
			RSSI_30_dBm,
			RSSI_31_dBm,
			RSSI_32_dBm,
			RSSI_33_dBm,
			RSSI_34_dBm,
			RSSI_35_dBm,
			RSSI_36_dBm,
			RSSI_37_dBm,
			RSSI_38_dBm,
			RSSI_39_dBm,
			RSSI_40_dBm,
			RSSI_41_dBm,
			RSSI_42_dBm,
			RSSI_43_dBm,
			RSSI_44_dBm,
			RSSI_45_dBm,
			RSSI_46_dBm,
			RSSI_47_dBm,
			RSSI_48_dBm,
			RSSI_49_dBm,
			RSSI_50_dBm,
			RSSI_51_dBm,
			RSSI_52_dBm,
			RSSI_53_dBm,
			RSSI_54_dBm,
			RSSI_55_dBm,
			RSSI_56_dBm,
			RSSI_57_dBm,
			RSSI_58_dBm,
			RSSI_59_dBm,
			RSSI_60_dBm,
			RSSI_61_dBm,
			RSSI_62_dBm,
			RSSI_63_dBm,
			RSSI_64_dBm,
			RSSI_65_dBm,
			RSSI_66_dBm,
			RSSI_67_dBm,
			RSSI_68_dBm,
			RSSI_69_dBm,
			RSSI_70_dBm,
			RSSI_71_dBm,
			RSSI_72_dBm,
			RSSI_73_dBm,
			RSSI_74_dBm,
			RSSI_75_dBm,
			RSSI_76_dBm,
			RSSI_77_dBm,
			RSSI_78_dBm,
			RSSI_79_dBm,
			RSSI_80_dBm,
			RSSI_81_dBm,
			RSSI_82_dBm,
			RSSI_83_dBm,
			RSSI_84_dBm,
			RSSI_85_dBm,
			RSSI_86_dBm,
			RSSI_87_dBm,
			RSSI_88_dBm,
			RSSI_89_dBm,
			RSSI_90_dBm,
			RSSI_91_dBm,
			RSSI_92_dBm,
			RSSI_93_dBm,
			RSSI_94_dBm,
			RSSI_95_dBm,
			RSSI_96_dBm,
			RSSI_97_dBm,
			RSSI_98_dBm,
			RSSI_99_dBm,
			RSSI_100_dBm,
			RSSI_101_dBm,
			RSSI_102_dBm,
			RSSI_103_dBm,
			RSSI_104_dBm,
			RSSI_105_dBm,
			RSSI_106_dBm,
			RSSI_107_dBm,
			RSSI_108_dBm,
			RSSI_109_dBm,
			RSSI_110_dBm,
			RSSI_111_dBm,
			RSSI_112_dBm,
			RSSI_113_dBm,
			RSSI_114_dBm,
			RSSI_115_dBm,
			RSSI_116_dBm,
			RSSI_117_dBm,
			RSSI_118_dBm,
			RSSI_119_dBm,
			RSSI_120_dBm,
			RSSI_121_dBm,
			RSSI_122_dBm,
			RSSI_123_dBm,
			RSSI_124_dBm,
			RSSI_125_dBm,
			RSSI_126_dBm,
			RSSI_127_dBm,
			RSSI_MINUS_128_dBm,
			RSSI_MINUS_127_dBm,
			RSSI_MINUS_126_dBm,
			RSSI_MINUS_125_dBm,
			RSSI_MINUS_124_dBm,
			RSSI_MINUS_123_dBm,
			RSSI_MINUS_122_dBm,
			RSSI_MINUS_121_dBm,
			RSSI_MINUS_120_dBm,
			RSSI_MINUS_119_dBm,
			RSSI_MINUS_118_dBm,
			RSSI_MINUS_117_dBm,
			RSSI_MINUS_116_dBm,
			RSSI_MINUS_115_dBm,
			RSSI_MINUS_114_dBm,
			RSSI_MINUS_113_dBm,
			RSSI_MINUS_112_dBm,
			RSSI_MINUS_111_dBm,
			RSSI_MINUS_110_dBm,
			RSSI_MINUS_109_dBm,
			RSSI_MINUS_108_dBm,
			RSSI_MINUS_107_dBm,
			RSSI_MINUS_106_dBm,
			RSSI_MINUS_105_dBm,
			RSSI_MINUS_104_dBm,
			RSSI_MINUS_103_dBm,
			RSSI_MINUS_102_dBm,
			RSSI_MINUS_101_dBm,
			RSSI_MINUS_100_dBm,
			RSSI_MINUS_99_dBm,
			RSSI_MINUS_98_dBm,
			RSSI_MINUS_97_dBm,
			RSSI_MINUS_96_dBm,
			RSSI_MINUS_95_dBm,
			RSSI_MINUS_94_dBm,
			RSSI_MINUS_93_dBm,
			RSSI_MINUS_92_dBm,
			RSSI_MINUS_91_dBm,
			RSSI_MINUS_90_dBm,
			RSSI_MINUS_89_dBm,
			RSSI_MINUS_88_dBm,
			RSSI_MINUS_87_dBm,
			RSSI_MINUS_86_dBm,
			RSSI_MINUS_85_dBm,
			RSSI_MINUS_84_dBm,
			RSSI_MINUS_83_dBm,
			RSSI_MINUS_82_dBm,
			RSSI_MINUS_81_dBm,
			RSSI_MINUS_80_dBm,
			RSSI_MINUS_79_dBm,
			RSSI_MINUS_78_dBm,
			RSSI_MINUS_77_dBm,
			RSSI_MINUS_76_dBm,
			RSSI_MINUS_75_dBm,
			RSSI_MINUS_74_dBm,
			RSSI_MINUS_73_dBm,
			RSSI_MINUS_72_dBm,
			RSSI_MINUS_71_dBm,
			RSSI_MINUS_70_dBm,
			RSSI_MINUS_69_dBm,
			RSSI_MINUS_68_dBm,
			RSSI_MINUS_67_dBm,
			RSSI_MINUS_66_dBm,
			RSSI_MINUS_65_dBm,
			RSSI_MINUS_64_dBm,
			RSSI_MINUS_63_dBm,
			RSSI_MINUS_62_dBm,
			RSSI_MINUS_61_dBm,
			RSSI_MINUS_60_dBm,
			RSSI_MINUS_59_dBm,
			RSSI_MINUS_58_dBm,
			RSSI_MINUS_57_dBm,
			RSSI_MINUS_56_dBm,
			RSSI_MINUS_55_dBm,
			RSSI_MINUS_54_dBm,
			RSSI_MINUS_53_dBm,
			RSSI_MINUS_52_dBm,
			RSSI_MINUS_51_dBm,
			RSSI_MINUS_50_dBm,
			RSSI_MINUS_49_dBm,
			RSSI_MINUS_48_dBm,
			RSSI_MINUS_47_dBm,
			RSSI_MINUS_46_dBm,
			RSSI_MINUS_45_dBm,
			RSSI_MINUS_44_dBm,
			RSSI_MINUS_43_dBm,
			RSSI_MINUS_42_dBm,
			RSSI_MINUS_41_dBm,
			RSSI_MINUS_40_dBm,
			RSSI_MINUS_39_dBm,
			RSSI_MINUS_38_dBm,
			RSSI_MINUS_37_dBm,
			RSSI_MINUS_36_dBm,
			RSSI_MINUS_35_dBm,
			RSSI_MINUS_34_dBm,
			RSSI_MINUS_33_dBm,
			RSSI_MINUS_32_dBm,
			RSSI_MINUS_31_dBm,
			RSSI_MINUS_30_dBm,
			RSSI_MINUS_29_dBm,
			RSSI_MINUS_28_dBm,
			RSSI_MINUS_27_dBm,
			RSSI_MINUS_26_dBm,
			RSSI_MINUS_25_dBm,
			RSSI_MINUS_24_dBm,
			RSSI_MINUS_23_dBm,
			RSSI_MINUS_22_dBm,
			RSSI_MINUS_21_dBm,
			RSSI_MINUS_20_dBm,
			RSSI_MINUS_19_dBm,
			RSSI_MINUS_18_dBm,
			RSSI_MINUS_17_dBm,
			RSSI_MINUS_16_dBm,
			RSSI_MINUS_15_dBm,
			RSSI_MINUS_14_dBm,
			RSSI_MINUS_13_dBm,
			RSSI_MINUS_12_dBm,
			RSSI_MINUS_11_dBm,
			RSSI_MINUS_10_dBm,
			RSSI_MINUS_9_dBm,
			RSSI_MINUS_8_dBm,
			RSSI_MINUS_7_dBm,
			RSSI_MINUS_6_dBm,
			RSSI_MINUS_5_dBm,
			RSSI_MINUS_4_dBm,
			RSSI_MINUS_3_dBm,
			RSSI_MINUS_2_dBm,
			RSSI_MINUS_1_dBm,
			InvalidRssiValue
		}

		public static class RssiInfo
		{
			public static RssiEnum ValueToRssi(uint value)
			{
				return value switch
				{
					0u => RssiEnum.RSSI_0_dBm, 
					1u => RssiEnum.RSSI_1_dBm, 
					2u => RssiEnum.RSSI_2_dBm, 
					3u => RssiEnum.RSSI_3_dBm, 
					4u => RssiEnum.RSSI_4_dBm, 
					5u => RssiEnum.RSSI_5_dBm, 
					6u => RssiEnum.RSSI_6_dBm, 
					7u => RssiEnum.RSSI_7_dBm, 
					8u => RssiEnum.RSSI_8_dBm, 
					9u => RssiEnum.RSSI_9_dBm, 
					10u => RssiEnum.RSSI_10_dBm, 
					11u => RssiEnum.RSSI_11_dBm, 
					12u => RssiEnum.RSSI_12_dBm, 
					13u => RssiEnum.RSSI_13_dBm, 
					14u => RssiEnum.RSSI_14_dBm, 
					15u => RssiEnum.RSSI_15_dBm, 
					16u => RssiEnum.RSSI_16_dBm, 
					17u => RssiEnum.RSSI_17_dBm, 
					18u => RssiEnum.RSSI_18_dBm, 
					19u => RssiEnum.RSSI_19_dBm, 
					20u => RssiEnum.RSSI_20_dBm, 
					21u => RssiEnum.RSSI_21_dBm, 
					22u => RssiEnum.RSSI_22_dBm, 
					23u => RssiEnum.RSSI_23_dBm, 
					24u => RssiEnum.RSSI_24_dBm, 
					25u => RssiEnum.RSSI_25_dBm, 
					26u => RssiEnum.RSSI_26_dBm, 
					27u => RssiEnum.RSSI_27_dBm, 
					28u => RssiEnum.RSSI_28_dBm, 
					29u => RssiEnum.RSSI_29_dBm, 
					30u => RssiEnum.RSSI_30_dBm, 
					31u => RssiEnum.RSSI_31_dBm, 
					32u => RssiEnum.RSSI_32_dBm, 
					33u => RssiEnum.RSSI_33_dBm, 
					34u => RssiEnum.RSSI_34_dBm, 
					35u => RssiEnum.RSSI_35_dBm, 
					36u => RssiEnum.RSSI_36_dBm, 
					37u => RssiEnum.RSSI_37_dBm, 
					38u => RssiEnum.RSSI_38_dBm, 
					39u => RssiEnum.RSSI_39_dBm, 
					40u => RssiEnum.RSSI_40_dBm, 
					41u => RssiEnum.RSSI_41_dBm, 
					42u => RssiEnum.RSSI_42_dBm, 
					43u => RssiEnum.RSSI_43_dBm, 
					44u => RssiEnum.RSSI_44_dBm, 
					45u => RssiEnum.RSSI_45_dBm, 
					46u => RssiEnum.RSSI_46_dBm, 
					47u => RssiEnum.RSSI_47_dBm, 
					48u => RssiEnum.RSSI_48_dBm, 
					49u => RssiEnum.RSSI_49_dBm, 
					50u => RssiEnum.RSSI_50_dBm, 
					51u => RssiEnum.RSSI_51_dBm, 
					52u => RssiEnum.RSSI_52_dBm, 
					53u => RssiEnum.RSSI_53_dBm, 
					54u => RssiEnum.RSSI_54_dBm, 
					55u => RssiEnum.RSSI_55_dBm, 
					56u => RssiEnum.RSSI_56_dBm, 
					57u => RssiEnum.RSSI_57_dBm, 
					58u => RssiEnum.RSSI_58_dBm, 
					59u => RssiEnum.RSSI_59_dBm, 
					60u => RssiEnum.RSSI_60_dBm, 
					61u => RssiEnum.RSSI_61_dBm, 
					62u => RssiEnum.RSSI_62_dBm, 
					63u => RssiEnum.RSSI_63_dBm, 
					64u => RssiEnum.RSSI_64_dBm, 
					65u => RssiEnum.RSSI_65_dBm, 
					66u => RssiEnum.RSSI_66_dBm, 
					67u => RssiEnum.RSSI_67_dBm, 
					68u => RssiEnum.RSSI_68_dBm, 
					69u => RssiEnum.RSSI_69_dBm, 
					70u => RssiEnum.RSSI_70_dBm, 
					71u => RssiEnum.RSSI_71_dBm, 
					72u => RssiEnum.RSSI_72_dBm, 
					73u => RssiEnum.RSSI_73_dBm, 
					74u => RssiEnum.RSSI_74_dBm, 
					75u => RssiEnum.RSSI_75_dBm, 
					76u => RssiEnum.RSSI_76_dBm, 
					77u => RssiEnum.RSSI_77_dBm, 
					78u => RssiEnum.RSSI_78_dBm, 
					79u => RssiEnum.RSSI_79_dBm, 
					80u => RssiEnum.RSSI_80_dBm, 
					81u => RssiEnum.RSSI_81_dBm, 
					82u => RssiEnum.RSSI_82_dBm, 
					83u => RssiEnum.RSSI_83_dBm, 
					84u => RssiEnum.RSSI_84_dBm, 
					85u => RssiEnum.RSSI_85_dBm, 
					86u => RssiEnum.RSSI_86_dBm, 
					87u => RssiEnum.RSSI_87_dBm, 
					88u => RssiEnum.RSSI_88_dBm, 
					89u => RssiEnum.RSSI_89_dBm, 
					90u => RssiEnum.RSSI_90_dBm, 
					91u => RssiEnum.RSSI_91_dBm, 
					92u => RssiEnum.RSSI_92_dBm, 
					93u => RssiEnum.RSSI_93_dBm, 
					94u => RssiEnum.RSSI_94_dBm, 
					95u => RssiEnum.RSSI_95_dBm, 
					96u => RssiEnum.RSSI_96_dBm, 
					97u => RssiEnum.RSSI_97_dBm, 
					98u => RssiEnum.RSSI_98_dBm, 
					99u => RssiEnum.RSSI_99_dBm, 
					100u => RssiEnum.RSSI_100_dBm, 
					101u => RssiEnum.RSSI_101_dBm, 
					102u => RssiEnum.RSSI_102_dBm, 
					103u => RssiEnum.RSSI_103_dBm, 
					104u => RssiEnum.RSSI_104_dBm, 
					105u => RssiEnum.RSSI_105_dBm, 
					106u => RssiEnum.RSSI_106_dBm, 
					107u => RssiEnum.RSSI_107_dBm, 
					108u => RssiEnum.RSSI_108_dBm, 
					109u => RssiEnum.RSSI_109_dBm, 
					110u => RssiEnum.RSSI_110_dBm, 
					111u => RssiEnum.RSSI_111_dBm, 
					112u => RssiEnum.RSSI_112_dBm, 
					113u => RssiEnum.RSSI_113_dBm, 
					114u => RssiEnum.RSSI_114_dBm, 
					115u => RssiEnum.RSSI_115_dBm, 
					116u => RssiEnum.RSSI_116_dBm, 
					117u => RssiEnum.RSSI_117_dBm, 
					118u => RssiEnum.RSSI_118_dBm, 
					119u => RssiEnum.RSSI_119_dBm, 
					120u => RssiEnum.RSSI_120_dBm, 
					121u => RssiEnum.RSSI_121_dBm, 
					122u => RssiEnum.RSSI_122_dBm, 
					123u => RssiEnum.RSSI_123_dBm, 
					124u => RssiEnum.RSSI_124_dBm, 
					125u => RssiEnum.RSSI_125_dBm, 
					126u => RssiEnum.RSSI_126_dBm, 
					127u => RssiEnum.RSSI_127_dBm, 
					128u => RssiEnum.RSSI_MINUS_128_dBm, 
					129u => RssiEnum.RSSI_MINUS_127_dBm, 
					130u => RssiEnum.RSSI_MINUS_126_dBm, 
					131u => RssiEnum.RSSI_MINUS_125_dBm, 
					132u => RssiEnum.RSSI_MINUS_124_dBm, 
					133u => RssiEnum.RSSI_MINUS_123_dBm, 
					134u => RssiEnum.RSSI_MINUS_122_dBm, 
					135u => RssiEnum.RSSI_MINUS_121_dBm, 
					136u => RssiEnum.RSSI_MINUS_120_dBm, 
					137u => RssiEnum.RSSI_MINUS_119_dBm, 
					138u => RssiEnum.RSSI_MINUS_118_dBm, 
					139u => RssiEnum.RSSI_MINUS_117_dBm, 
					140u => RssiEnum.RSSI_MINUS_116_dBm, 
					141u => RssiEnum.RSSI_MINUS_115_dBm, 
					142u => RssiEnum.RSSI_MINUS_114_dBm, 
					143u => RssiEnum.RSSI_MINUS_113_dBm, 
					144u => RssiEnum.RSSI_MINUS_112_dBm, 
					145u => RssiEnum.RSSI_MINUS_111_dBm, 
					146u => RssiEnum.RSSI_MINUS_110_dBm, 
					147u => RssiEnum.RSSI_MINUS_109_dBm, 
					148u => RssiEnum.RSSI_MINUS_108_dBm, 
					149u => RssiEnum.RSSI_MINUS_107_dBm, 
					150u => RssiEnum.RSSI_MINUS_106_dBm, 
					151u => RssiEnum.RSSI_MINUS_105_dBm, 
					152u => RssiEnum.RSSI_MINUS_104_dBm, 
					153u => RssiEnum.RSSI_MINUS_103_dBm, 
					154u => RssiEnum.RSSI_MINUS_102_dBm, 
					155u => RssiEnum.RSSI_MINUS_101_dBm, 
					156u => RssiEnum.RSSI_MINUS_100_dBm, 
					157u => RssiEnum.RSSI_MINUS_99_dBm, 
					158u => RssiEnum.RSSI_MINUS_98_dBm, 
					159u => RssiEnum.RSSI_MINUS_97_dBm, 
					160u => RssiEnum.RSSI_MINUS_96_dBm, 
					161u => RssiEnum.RSSI_MINUS_95_dBm, 
					162u => RssiEnum.RSSI_MINUS_94_dBm, 
					163u => RssiEnum.RSSI_MINUS_93_dBm, 
					164u => RssiEnum.RSSI_MINUS_92_dBm, 
					165u => RssiEnum.RSSI_MINUS_91_dBm, 
					166u => RssiEnum.RSSI_MINUS_90_dBm, 
					167u => RssiEnum.RSSI_MINUS_89_dBm, 
					168u => RssiEnum.RSSI_MINUS_88_dBm, 
					169u => RssiEnum.RSSI_MINUS_87_dBm, 
					170u => RssiEnum.RSSI_MINUS_86_dBm, 
					171u => RssiEnum.RSSI_MINUS_85_dBm, 
					172u => RssiEnum.RSSI_MINUS_84_dBm, 
					173u => RssiEnum.RSSI_MINUS_83_dBm, 
					174u => RssiEnum.RSSI_MINUS_82_dBm, 
					175u => RssiEnum.RSSI_MINUS_81_dBm, 
					176u => RssiEnum.RSSI_MINUS_80_dBm, 
					177u => RssiEnum.RSSI_MINUS_79_dBm, 
					178u => RssiEnum.RSSI_MINUS_78_dBm, 
					179u => RssiEnum.RSSI_MINUS_77_dBm, 
					180u => RssiEnum.RSSI_MINUS_76_dBm, 
					181u => RssiEnum.RSSI_MINUS_75_dBm, 
					182u => RssiEnum.RSSI_MINUS_74_dBm, 
					183u => RssiEnum.RSSI_MINUS_73_dBm, 
					184u => RssiEnum.RSSI_MINUS_72_dBm, 
					185u => RssiEnum.RSSI_MINUS_71_dBm, 
					186u => RssiEnum.RSSI_MINUS_70_dBm, 
					187u => RssiEnum.RSSI_MINUS_69_dBm, 
					188u => RssiEnum.RSSI_MINUS_68_dBm, 
					189u => RssiEnum.RSSI_MINUS_67_dBm, 
					190u => RssiEnum.RSSI_MINUS_66_dBm, 
					191u => RssiEnum.RSSI_MINUS_65_dBm, 
					192u => RssiEnum.RSSI_MINUS_64_dBm, 
					193u => RssiEnum.RSSI_MINUS_63_dBm, 
					194u => RssiEnum.RSSI_MINUS_62_dBm, 
					195u => RssiEnum.RSSI_MINUS_61_dBm, 
					196u => RssiEnum.RSSI_MINUS_60_dBm, 
					197u => RssiEnum.RSSI_MINUS_59_dBm, 
					198u => RssiEnum.RSSI_MINUS_58_dBm, 
					199u => RssiEnum.RSSI_MINUS_57_dBm, 
					200u => RssiEnum.RSSI_MINUS_56_dBm, 
					201u => RssiEnum.RSSI_MINUS_55_dBm, 
					202u => RssiEnum.RSSI_MINUS_54_dBm, 
					203u => RssiEnum.RSSI_MINUS_53_dBm, 
					204u => RssiEnum.RSSI_MINUS_52_dBm, 
					205u => RssiEnum.RSSI_MINUS_51_dBm, 
					206u => RssiEnum.RSSI_MINUS_50_dBm, 
					207u => RssiEnum.RSSI_MINUS_49_dBm, 
					208u => RssiEnum.RSSI_MINUS_48_dBm, 
					209u => RssiEnum.RSSI_MINUS_47_dBm, 
					210u => RssiEnum.RSSI_MINUS_46_dBm, 
					211u => RssiEnum.RSSI_MINUS_45_dBm, 
					212u => RssiEnum.RSSI_MINUS_44_dBm, 
					213u => RssiEnum.RSSI_MINUS_43_dBm, 
					214u => RssiEnum.RSSI_MINUS_42_dBm, 
					215u => RssiEnum.RSSI_MINUS_41_dBm, 
					216u => RssiEnum.RSSI_MINUS_40_dBm, 
					217u => RssiEnum.RSSI_MINUS_39_dBm, 
					218u => RssiEnum.RSSI_MINUS_38_dBm, 
					219u => RssiEnum.RSSI_MINUS_37_dBm, 
					220u => RssiEnum.RSSI_MINUS_36_dBm, 
					221u => RssiEnum.RSSI_MINUS_35_dBm, 
					222u => RssiEnum.RSSI_MINUS_34_dBm, 
					223u => RssiEnum.RSSI_MINUS_33_dBm, 
					224u => RssiEnum.RSSI_MINUS_32_dBm, 
					225u => RssiEnum.RSSI_MINUS_31_dBm, 
					226u => RssiEnum.RSSI_MINUS_30_dBm, 
					227u => RssiEnum.RSSI_MINUS_29_dBm, 
					228u => RssiEnum.RSSI_MINUS_28_dBm, 
					229u => RssiEnum.RSSI_MINUS_27_dBm, 
					230u => RssiEnum.RSSI_MINUS_26_dBm, 
					231u => RssiEnum.RSSI_MINUS_25_dBm, 
					232u => RssiEnum.RSSI_MINUS_24_dBm, 
					233u => RssiEnum.RSSI_MINUS_23_dBm, 
					234u => RssiEnum.RSSI_MINUS_22_dBm, 
					235u => RssiEnum.RSSI_MINUS_21_dBm, 
					236u => RssiEnum.RSSI_MINUS_20_dBm, 
					237u => RssiEnum.RSSI_MINUS_19_dBm, 
					238u => RssiEnum.RSSI_MINUS_18_dBm, 
					239u => RssiEnum.RSSI_MINUS_17_dBm, 
					240u => RssiEnum.RSSI_MINUS_16_dBm, 
					241u => RssiEnum.RSSI_MINUS_15_dBm, 
					242u => RssiEnum.RSSI_MINUS_14_dBm, 
					243u => RssiEnum.RSSI_MINUS_13_dBm, 
					244u => RssiEnum.RSSI_MINUS_12_dBm, 
					245u => RssiEnum.RSSI_MINUS_11_dBm, 
					246u => RssiEnum.RSSI_MINUS_10_dBm, 
					247u => RssiEnum.RSSI_MINUS_9_dBm, 
					248u => RssiEnum.RSSI_MINUS_8_dBm, 
					249u => RssiEnum.RSSI_MINUS_7_dBm, 
					250u => RssiEnum.RSSI_MINUS_6_dBm, 
					251u => RssiEnum.RSSI_MINUS_5_dBm, 
					252u => RssiEnum.RSSI_MINUS_4_dBm, 
					253u => RssiEnum.RSSI_MINUS_3_dBm, 
					254u => RssiEnum.RSSI_MINUS_2_dBm, 
					255u => RssiEnum.RSSI_MINUS_1_dBm, 
					_ => RssiEnum.InvalidRssiValue, 
				};
			}

			public static uint RssiToValue(RssiEnum enumItem)
			{
				return enumItem switch
				{
					RssiEnum.RSSI_0_dBm => 0u, 
					RssiEnum.RSSI_1_dBm => 1u, 
					RssiEnum.RSSI_2_dBm => 2u, 
					RssiEnum.RSSI_3_dBm => 3u, 
					RssiEnum.RSSI_4_dBm => 4u, 
					RssiEnum.RSSI_5_dBm => 5u, 
					RssiEnum.RSSI_6_dBm => 6u, 
					RssiEnum.RSSI_7_dBm => 7u, 
					RssiEnum.RSSI_8_dBm => 8u, 
					RssiEnum.RSSI_9_dBm => 9u, 
					RssiEnum.RSSI_10_dBm => 10u, 
					RssiEnum.RSSI_11_dBm => 11u, 
					RssiEnum.RSSI_12_dBm => 12u, 
					RssiEnum.RSSI_13_dBm => 13u, 
					RssiEnum.RSSI_14_dBm => 14u, 
					RssiEnum.RSSI_15_dBm => 15u, 
					RssiEnum.RSSI_16_dBm => 16u, 
					RssiEnum.RSSI_17_dBm => 17u, 
					RssiEnum.RSSI_18_dBm => 18u, 
					RssiEnum.RSSI_19_dBm => 19u, 
					RssiEnum.RSSI_20_dBm => 20u, 
					RssiEnum.RSSI_21_dBm => 21u, 
					RssiEnum.RSSI_22_dBm => 22u, 
					RssiEnum.RSSI_23_dBm => 23u, 
					RssiEnum.RSSI_24_dBm => 24u, 
					RssiEnum.RSSI_25_dBm => 25u, 
					RssiEnum.RSSI_26_dBm => 26u, 
					RssiEnum.RSSI_27_dBm => 27u, 
					RssiEnum.RSSI_28_dBm => 28u, 
					RssiEnum.RSSI_29_dBm => 29u, 
					RssiEnum.RSSI_30_dBm => 30u, 
					RssiEnum.RSSI_31_dBm => 31u, 
					RssiEnum.RSSI_32_dBm => 32u, 
					RssiEnum.RSSI_33_dBm => 33u, 
					RssiEnum.RSSI_34_dBm => 34u, 
					RssiEnum.RSSI_35_dBm => 35u, 
					RssiEnum.RSSI_36_dBm => 36u, 
					RssiEnum.RSSI_37_dBm => 37u, 
					RssiEnum.RSSI_38_dBm => 38u, 
					RssiEnum.RSSI_39_dBm => 39u, 
					RssiEnum.RSSI_40_dBm => 40u, 
					RssiEnum.RSSI_41_dBm => 41u, 
					RssiEnum.RSSI_42_dBm => 42u, 
					RssiEnum.RSSI_43_dBm => 43u, 
					RssiEnum.RSSI_44_dBm => 44u, 
					RssiEnum.RSSI_45_dBm => 45u, 
					RssiEnum.RSSI_46_dBm => 46u, 
					RssiEnum.RSSI_47_dBm => 47u, 
					RssiEnum.RSSI_48_dBm => 48u, 
					RssiEnum.RSSI_49_dBm => 49u, 
					RssiEnum.RSSI_50_dBm => 50u, 
					RssiEnum.RSSI_51_dBm => 51u, 
					RssiEnum.RSSI_52_dBm => 52u, 
					RssiEnum.RSSI_53_dBm => 53u, 
					RssiEnum.RSSI_54_dBm => 54u, 
					RssiEnum.RSSI_55_dBm => 55u, 
					RssiEnum.RSSI_56_dBm => 56u, 
					RssiEnum.RSSI_57_dBm => 57u, 
					RssiEnum.RSSI_58_dBm => 58u, 
					RssiEnum.RSSI_59_dBm => 59u, 
					RssiEnum.RSSI_60_dBm => 60u, 
					RssiEnum.RSSI_61_dBm => 61u, 
					RssiEnum.RSSI_62_dBm => 62u, 
					RssiEnum.RSSI_63_dBm => 63u, 
					RssiEnum.RSSI_64_dBm => 64u, 
					RssiEnum.RSSI_65_dBm => 65u, 
					RssiEnum.RSSI_66_dBm => 66u, 
					RssiEnum.RSSI_67_dBm => 67u, 
					RssiEnum.RSSI_68_dBm => 68u, 
					RssiEnum.RSSI_69_dBm => 69u, 
					RssiEnum.RSSI_70_dBm => 70u, 
					RssiEnum.RSSI_71_dBm => 71u, 
					RssiEnum.RSSI_72_dBm => 72u, 
					RssiEnum.RSSI_73_dBm => 73u, 
					RssiEnum.RSSI_74_dBm => 74u, 
					RssiEnum.RSSI_75_dBm => 75u, 
					RssiEnum.RSSI_76_dBm => 76u, 
					RssiEnum.RSSI_77_dBm => 77u, 
					RssiEnum.RSSI_78_dBm => 78u, 
					RssiEnum.RSSI_79_dBm => 79u, 
					RssiEnum.RSSI_80_dBm => 80u, 
					RssiEnum.RSSI_81_dBm => 81u, 
					RssiEnum.RSSI_82_dBm => 82u, 
					RssiEnum.RSSI_83_dBm => 83u, 
					RssiEnum.RSSI_84_dBm => 84u, 
					RssiEnum.RSSI_85_dBm => 85u, 
					RssiEnum.RSSI_86_dBm => 86u, 
					RssiEnum.RSSI_87_dBm => 87u, 
					RssiEnum.RSSI_88_dBm => 88u, 
					RssiEnum.RSSI_89_dBm => 89u, 
					RssiEnum.RSSI_90_dBm => 90u, 
					RssiEnum.RSSI_91_dBm => 91u, 
					RssiEnum.RSSI_92_dBm => 92u, 
					RssiEnum.RSSI_93_dBm => 93u, 
					RssiEnum.RSSI_94_dBm => 94u, 
					RssiEnum.RSSI_95_dBm => 95u, 
					RssiEnum.RSSI_96_dBm => 96u, 
					RssiEnum.RSSI_97_dBm => 97u, 
					RssiEnum.RSSI_98_dBm => 98u, 
					RssiEnum.RSSI_99_dBm => 99u, 
					RssiEnum.RSSI_100_dBm => 100u, 
					RssiEnum.RSSI_101_dBm => 101u, 
					RssiEnum.RSSI_102_dBm => 102u, 
					RssiEnum.RSSI_103_dBm => 103u, 
					RssiEnum.RSSI_104_dBm => 104u, 
					RssiEnum.RSSI_105_dBm => 105u, 
					RssiEnum.RSSI_106_dBm => 106u, 
					RssiEnum.RSSI_107_dBm => 107u, 
					RssiEnum.RSSI_108_dBm => 108u, 
					RssiEnum.RSSI_109_dBm => 109u, 
					RssiEnum.RSSI_110_dBm => 110u, 
					RssiEnum.RSSI_111_dBm => 111u, 
					RssiEnum.RSSI_112_dBm => 112u, 
					RssiEnum.RSSI_113_dBm => 113u, 
					RssiEnum.RSSI_114_dBm => 114u, 
					RssiEnum.RSSI_115_dBm => 115u, 
					RssiEnum.RSSI_116_dBm => 116u, 
					RssiEnum.RSSI_117_dBm => 117u, 
					RssiEnum.RSSI_118_dBm => 118u, 
					RssiEnum.RSSI_119_dBm => 119u, 
					RssiEnum.RSSI_120_dBm => 120u, 
					RssiEnum.RSSI_121_dBm => 121u, 
					RssiEnum.RSSI_122_dBm => 122u, 
					RssiEnum.RSSI_123_dBm => 123u, 
					RssiEnum.RSSI_124_dBm => 124u, 
					RssiEnum.RSSI_125_dBm => 125u, 
					RssiEnum.RSSI_126_dBm => 126u, 
					RssiEnum.RSSI_127_dBm => 127u, 
					RssiEnum.RSSI_MINUS_128_dBm => 128u, 
					RssiEnum.RSSI_MINUS_127_dBm => 129u, 
					RssiEnum.RSSI_MINUS_126_dBm => 130u, 
					RssiEnum.RSSI_MINUS_125_dBm => 131u, 
					RssiEnum.RSSI_MINUS_124_dBm => 132u, 
					RssiEnum.RSSI_MINUS_123_dBm => 133u, 
					RssiEnum.RSSI_MINUS_122_dBm => 134u, 
					RssiEnum.RSSI_MINUS_121_dBm => 135u, 
					RssiEnum.RSSI_MINUS_120_dBm => 136u, 
					RssiEnum.RSSI_MINUS_119_dBm => 137u, 
					RssiEnum.RSSI_MINUS_118_dBm => 138u, 
					RssiEnum.RSSI_MINUS_117_dBm => 139u, 
					RssiEnum.RSSI_MINUS_116_dBm => 140u, 
					RssiEnum.RSSI_MINUS_115_dBm => 141u, 
					RssiEnum.RSSI_MINUS_114_dBm => 142u, 
					RssiEnum.RSSI_MINUS_113_dBm => 143u, 
					RssiEnum.RSSI_MINUS_112_dBm => 144u, 
					RssiEnum.RSSI_MINUS_111_dBm => 145u, 
					RssiEnum.RSSI_MINUS_110_dBm => 146u, 
					RssiEnum.RSSI_MINUS_109_dBm => 147u, 
					RssiEnum.RSSI_MINUS_108_dBm => 148u, 
					RssiEnum.RSSI_MINUS_107_dBm => 149u, 
					RssiEnum.RSSI_MINUS_106_dBm => 150u, 
					RssiEnum.RSSI_MINUS_105_dBm => 151u, 
					RssiEnum.RSSI_MINUS_104_dBm => 152u, 
					RssiEnum.RSSI_MINUS_103_dBm => 153u, 
					RssiEnum.RSSI_MINUS_102_dBm => 154u, 
					RssiEnum.RSSI_MINUS_101_dBm => 155u, 
					RssiEnum.RSSI_MINUS_100_dBm => 156u, 
					RssiEnum.RSSI_MINUS_99_dBm => 157u, 
					RssiEnum.RSSI_MINUS_98_dBm => 158u, 
					RssiEnum.RSSI_MINUS_97_dBm => 159u, 
					RssiEnum.RSSI_MINUS_96_dBm => 160u, 
					RssiEnum.RSSI_MINUS_95_dBm => 161u, 
					RssiEnum.RSSI_MINUS_94_dBm => 162u, 
					RssiEnum.RSSI_MINUS_93_dBm => 163u, 
					RssiEnum.RSSI_MINUS_92_dBm => 164u, 
					RssiEnum.RSSI_MINUS_91_dBm => 165u, 
					RssiEnum.RSSI_MINUS_90_dBm => 166u, 
					RssiEnum.RSSI_MINUS_89_dBm => 167u, 
					RssiEnum.RSSI_MINUS_88_dBm => 168u, 
					RssiEnum.RSSI_MINUS_87_dBm => 169u, 
					RssiEnum.RSSI_MINUS_86_dBm => 170u, 
					RssiEnum.RSSI_MINUS_85_dBm => 171u, 
					RssiEnum.RSSI_MINUS_84_dBm => 172u, 
					RssiEnum.RSSI_MINUS_83_dBm => 173u, 
					RssiEnum.RSSI_MINUS_82_dBm => 174u, 
					RssiEnum.RSSI_MINUS_81_dBm => 175u, 
					RssiEnum.RSSI_MINUS_80_dBm => 176u, 
					RssiEnum.RSSI_MINUS_79_dBm => 177u, 
					RssiEnum.RSSI_MINUS_78_dBm => 178u, 
					RssiEnum.RSSI_MINUS_77_dBm => 179u, 
					RssiEnum.RSSI_MINUS_76_dBm => 180u, 
					RssiEnum.RSSI_MINUS_75_dBm => 181u, 
					RssiEnum.RSSI_MINUS_74_dBm => 182u, 
					RssiEnum.RSSI_MINUS_73_dBm => 183u, 
					RssiEnum.RSSI_MINUS_72_dBm => 184u, 
					RssiEnum.RSSI_MINUS_71_dBm => 185u, 
					RssiEnum.RSSI_MINUS_70_dBm => 186u, 
					RssiEnum.RSSI_MINUS_69_dBm => 187u, 
					RssiEnum.RSSI_MINUS_68_dBm => 188u, 
					RssiEnum.RSSI_MINUS_67_dBm => 189u, 
					RssiEnum.RSSI_MINUS_66_dBm => 190u, 
					RssiEnum.RSSI_MINUS_65_dBm => 191u, 
					RssiEnum.RSSI_MINUS_64_dBm => 192u, 
					RssiEnum.RSSI_MINUS_63_dBm => 193u, 
					RssiEnum.RSSI_MINUS_62_dBm => 194u, 
					RssiEnum.RSSI_MINUS_61_dBm => 195u, 
					RssiEnum.RSSI_MINUS_60_dBm => 196u, 
					RssiEnum.RSSI_MINUS_59_dBm => 197u, 
					RssiEnum.RSSI_MINUS_58_dBm => 198u, 
					RssiEnum.RSSI_MINUS_57_dBm => 199u, 
					RssiEnum.RSSI_MINUS_56_dBm => 200u, 
					RssiEnum.RSSI_MINUS_55_dBm => 201u, 
					RssiEnum.RSSI_MINUS_54_dBm => 202u, 
					RssiEnum.RSSI_MINUS_53_dBm => 203u, 
					RssiEnum.RSSI_MINUS_52_dBm => 204u, 
					RssiEnum.RSSI_MINUS_51_dBm => 205u, 
					RssiEnum.RSSI_MINUS_50_dBm => 206u, 
					RssiEnum.RSSI_MINUS_49_dBm => 207u, 
					RssiEnum.RSSI_MINUS_48_dBm => 208u, 
					RssiEnum.RSSI_MINUS_47_dBm => 209u, 
					RssiEnum.RSSI_MINUS_46_dBm => 210u, 
					RssiEnum.RSSI_MINUS_45_dBm => 211u, 
					RssiEnum.RSSI_MINUS_44_dBm => 212u, 
					RssiEnum.RSSI_MINUS_43_dBm => 213u, 
					RssiEnum.RSSI_MINUS_42_dBm => 214u, 
					RssiEnum.RSSI_MINUS_41_dBm => 215u, 
					RssiEnum.RSSI_MINUS_40_dBm => 216u, 
					RssiEnum.RSSI_MINUS_39_dBm => 217u, 
					RssiEnum.RSSI_MINUS_38_dBm => 218u, 
					RssiEnum.RSSI_MINUS_37_dBm => 219u, 
					RssiEnum.RSSI_MINUS_36_dBm => 220u, 
					RssiEnum.RSSI_MINUS_35_dBm => 221u, 
					RssiEnum.RSSI_MINUS_34_dBm => 222u, 
					RssiEnum.RSSI_MINUS_33_dBm => 223u, 
					RssiEnum.RSSI_MINUS_32_dBm => 224u, 
					RssiEnum.RSSI_MINUS_31_dBm => 225u, 
					RssiEnum.RSSI_MINUS_30_dBm => 226u, 
					RssiEnum.RSSI_MINUS_29_dBm => 227u, 
					RssiEnum.RSSI_MINUS_28_dBm => 228u, 
					RssiEnum.RSSI_MINUS_27_dBm => 229u, 
					RssiEnum.RSSI_MINUS_26_dBm => 230u, 
					RssiEnum.RSSI_MINUS_25_dBm => 231u, 
					RssiEnum.RSSI_MINUS_24_dBm => 232u, 
					RssiEnum.RSSI_MINUS_23_dBm => 233u, 
					RssiEnum.RSSI_MINUS_22_dBm => 234u, 
					RssiEnum.RSSI_MINUS_21_dBm => 235u, 
					RssiEnum.RSSI_MINUS_20_dBm => 236u, 
					RssiEnum.RSSI_MINUS_19_dBm => 237u, 
					RssiEnum.RSSI_MINUS_18_dBm => 238u, 
					RssiEnum.RSSI_MINUS_17_dBm => 239u, 
					RssiEnum.RSSI_MINUS_16_dBm => 240u, 
					RssiEnum.RSSI_MINUS_15_dBm => 241u, 
					RssiEnum.RSSI_MINUS_14_dBm => 242u, 
					RssiEnum.RSSI_MINUS_13_dBm => 243u, 
					RssiEnum.RSSI_MINUS_12_dBm => 244u, 
					RssiEnum.RSSI_MINUS_11_dBm => 245u, 
					RssiEnum.RSSI_MINUS_10_dBm => 246u, 
					RssiEnum.RSSI_MINUS_9_dBm => 247u, 
					RssiEnum.RSSI_MINUS_8_dBm => 248u, 
					RssiEnum.RSSI_MINUS_7_dBm => 249u, 
					RssiEnum.RSSI_MINUS_6_dBm => 250u, 
					RssiEnum.RSSI_MINUS_5_dBm => 251u, 
					RssiEnum.RSSI_MINUS_4_dBm => 252u, 
					RssiEnum.RSSI_MINUS_3_dBm => 253u, 
					RssiEnum.RSSI_MINUS_2_dBm => 254u, 
					RssiEnum.RSSI_MINUS_1_dBm => 255u, 
					_ => uint.MaxValue, 
				};
			}

			public static string RssiToString(RssiEnum enumItem)
			{
				return enumItem switch
				{
					RssiEnum.RSSI_0_dBm => "0dBm", 
					RssiEnum.RSSI_1_dBm => "1dBm", 
					RssiEnum.RSSI_2_dBm => "2dBm", 
					RssiEnum.RSSI_3_dBm => "3dBm", 
					RssiEnum.RSSI_4_dBm => "4dBm", 
					RssiEnum.RSSI_5_dBm => "5dBm", 
					RssiEnum.RSSI_6_dBm => "6dBm", 
					RssiEnum.RSSI_7_dBm => "7dBm", 
					RssiEnum.RSSI_8_dBm => "8dBm", 
					RssiEnum.RSSI_9_dBm => "9dBm", 
					RssiEnum.RSSI_10_dBm => "10dBm", 
					RssiEnum.RSSI_11_dBm => "11dBm", 
					RssiEnum.RSSI_12_dBm => "12dBm", 
					RssiEnum.RSSI_13_dBm => "13dBm", 
					RssiEnum.RSSI_14_dBm => "14dBm", 
					RssiEnum.RSSI_15_dBm => "15dBm", 
					RssiEnum.RSSI_16_dBm => "16dBm", 
					RssiEnum.RSSI_17_dBm => "17dBm", 
					RssiEnum.RSSI_18_dBm => "18dBm", 
					RssiEnum.RSSI_19_dBm => "19dBm", 
					RssiEnum.RSSI_20_dBm => "20dBm", 
					RssiEnum.RSSI_21_dBm => "21dBm", 
					RssiEnum.RSSI_22_dBm => "22dBm", 
					RssiEnum.RSSI_23_dBm => "23dBm", 
					RssiEnum.RSSI_24_dBm => "24dBm", 
					RssiEnum.RSSI_25_dBm => "25dBm", 
					RssiEnum.RSSI_26_dBm => "26dBm", 
					RssiEnum.RSSI_27_dBm => "27dBm", 
					RssiEnum.RSSI_28_dBm => "28dBm", 
					RssiEnum.RSSI_29_dBm => "29dBm", 
					RssiEnum.RSSI_30_dBm => "30dBm", 
					RssiEnum.RSSI_31_dBm => "31dBm", 
					RssiEnum.RSSI_32_dBm => "32dBm", 
					RssiEnum.RSSI_33_dBm => "33dBm", 
					RssiEnum.RSSI_34_dBm => "34dBm", 
					RssiEnum.RSSI_35_dBm => "35dBm", 
					RssiEnum.RSSI_36_dBm => "36dBm", 
					RssiEnum.RSSI_37_dBm => "37dBm", 
					RssiEnum.RSSI_38_dBm => "38dBm", 
					RssiEnum.RSSI_39_dBm => "39dBm", 
					RssiEnum.RSSI_40_dBm => "40dBm", 
					RssiEnum.RSSI_41_dBm => "41dBm", 
					RssiEnum.RSSI_42_dBm => "42dBm", 
					RssiEnum.RSSI_43_dBm => "43dBm", 
					RssiEnum.RSSI_44_dBm => "44dBm", 
					RssiEnum.RSSI_45_dBm => "45dBm", 
					RssiEnum.RSSI_46_dBm => "46dBm", 
					RssiEnum.RSSI_47_dBm => "47dBm", 
					RssiEnum.RSSI_48_dBm => "48dBm", 
					RssiEnum.RSSI_49_dBm => "49dBm", 
					RssiEnum.RSSI_50_dBm => "50dBm", 
					RssiEnum.RSSI_51_dBm => "51dBm", 
					RssiEnum.RSSI_52_dBm => "52dBm", 
					RssiEnum.RSSI_53_dBm => "53dBm", 
					RssiEnum.RSSI_54_dBm => "54dBm", 
					RssiEnum.RSSI_55_dBm => "55dBm", 
					RssiEnum.RSSI_56_dBm => "56dBm", 
					RssiEnum.RSSI_57_dBm => "57dBm", 
					RssiEnum.RSSI_58_dBm => "58dBm", 
					RssiEnum.RSSI_59_dBm => "59dBm", 
					RssiEnum.RSSI_60_dBm => "60dBm", 
					RssiEnum.RSSI_61_dBm => "61dBm", 
					RssiEnum.RSSI_62_dBm => "62dBm", 
					RssiEnum.RSSI_63_dBm => "63dBm", 
					RssiEnum.RSSI_64_dBm => "64dBm", 
					RssiEnum.RSSI_65_dBm => "65dBm", 
					RssiEnum.RSSI_66_dBm => "66dBm", 
					RssiEnum.RSSI_67_dBm => "67dBm", 
					RssiEnum.RSSI_68_dBm => "68dBm", 
					RssiEnum.RSSI_69_dBm => "69dBm", 
					RssiEnum.RSSI_70_dBm => "70dBm", 
					RssiEnum.RSSI_71_dBm => "71dBm", 
					RssiEnum.RSSI_72_dBm => "72dBm", 
					RssiEnum.RSSI_73_dBm => "73dBm", 
					RssiEnum.RSSI_74_dBm => "74dBm", 
					RssiEnum.RSSI_75_dBm => "75dBm", 
					RssiEnum.RSSI_76_dBm => "76dBm", 
					RssiEnum.RSSI_77_dBm => "77dBm", 
					RssiEnum.RSSI_78_dBm => "78dBm", 
					RssiEnum.RSSI_79_dBm => "79dBm", 
					RssiEnum.RSSI_80_dBm => "80dBm", 
					RssiEnum.RSSI_81_dBm => "81dBm", 
					RssiEnum.RSSI_82_dBm => "82dBm", 
					RssiEnum.RSSI_83_dBm => "83dBm", 
					RssiEnum.RSSI_84_dBm => "84dBm", 
					RssiEnum.RSSI_85_dBm => "85dBm", 
					RssiEnum.RSSI_86_dBm => "86dBm", 
					RssiEnum.RSSI_87_dBm => "87dBm", 
					RssiEnum.RSSI_88_dBm => "88dBm", 
					RssiEnum.RSSI_89_dBm => "89dBm", 
					RssiEnum.RSSI_90_dBm => "90dBm", 
					RssiEnum.RSSI_91_dBm => "91dBm", 
					RssiEnum.RSSI_92_dBm => "92dBm", 
					RssiEnum.RSSI_93_dBm => "93dBm", 
					RssiEnum.RSSI_94_dBm => "94dBm", 
					RssiEnum.RSSI_95_dBm => "95dBm", 
					RssiEnum.RSSI_96_dBm => "96dBm", 
					RssiEnum.RSSI_97_dBm => "97dBm", 
					RssiEnum.RSSI_98_dBm => "98dBm", 
					RssiEnum.RSSI_99_dBm => "99dBm", 
					RssiEnum.RSSI_100_dBm => "100dBm", 
					RssiEnum.RSSI_101_dBm => "101dBm", 
					RssiEnum.RSSI_102_dBm => "102dBm", 
					RssiEnum.RSSI_103_dBm => "103dBm", 
					RssiEnum.RSSI_104_dBm => "104dBm", 
					RssiEnum.RSSI_105_dBm => "105dBm", 
					RssiEnum.RSSI_106_dBm => "106dBm", 
					RssiEnum.RSSI_107_dBm => "107dBm", 
					RssiEnum.RSSI_108_dBm => "108dBm", 
					RssiEnum.RSSI_109_dBm => "109dBm", 
					RssiEnum.RSSI_110_dBm => "110dBm", 
					RssiEnum.RSSI_111_dBm => "111dBm", 
					RssiEnum.RSSI_112_dBm => "112dBm", 
					RssiEnum.RSSI_113_dBm => "113dBm", 
					RssiEnum.RSSI_114_dBm => "114dBm", 
					RssiEnum.RSSI_115_dBm => "115dBm", 
					RssiEnum.RSSI_116_dBm => "116dBm", 
					RssiEnum.RSSI_117_dBm => "117dBm", 
					RssiEnum.RSSI_118_dBm => "118dBm", 
					RssiEnum.RSSI_119_dBm => "119dBm", 
					RssiEnum.RSSI_120_dBm => "120dBm", 
					RssiEnum.RSSI_121_dBm => "121dBm", 
					RssiEnum.RSSI_122_dBm => "122dBm", 
					RssiEnum.RSSI_123_dBm => "123dBm", 
					RssiEnum.RSSI_124_dBm => "124dBm", 
					RssiEnum.RSSI_125_dBm => "125dBm", 
					RssiEnum.RSSI_126_dBm => "126dBm", 
					RssiEnum.RSSI_127_dBm => "127dBm", 
					RssiEnum.RSSI_MINUS_128_dBm => "-128dBm", 
					RssiEnum.RSSI_MINUS_127_dBm => "-127dBm", 
					RssiEnum.RSSI_MINUS_126_dBm => "-126dBm", 
					RssiEnum.RSSI_MINUS_125_dBm => "-125dBm", 
					RssiEnum.RSSI_MINUS_124_dBm => "-124dBm", 
					RssiEnum.RSSI_MINUS_123_dBm => "-123dBm", 
					RssiEnum.RSSI_MINUS_122_dBm => "-122dBm", 
					RssiEnum.RSSI_MINUS_121_dBm => "-121dBm", 
					RssiEnum.RSSI_MINUS_120_dBm => "-120dBm", 
					RssiEnum.RSSI_MINUS_119_dBm => "-119dBm", 
					RssiEnum.RSSI_MINUS_118_dBm => "-118dBm", 
					RssiEnum.RSSI_MINUS_117_dBm => "-117dBm", 
					RssiEnum.RSSI_MINUS_116_dBm => "-116dBm", 
					RssiEnum.RSSI_MINUS_115_dBm => "-115dBm", 
					RssiEnum.RSSI_MINUS_114_dBm => "-114dBm", 
					RssiEnum.RSSI_MINUS_113_dBm => "-113dBm", 
					RssiEnum.RSSI_MINUS_112_dBm => "-112dBm", 
					RssiEnum.RSSI_MINUS_111_dBm => "-111dBm", 
					RssiEnum.RSSI_MINUS_110_dBm => "-110dBm", 
					RssiEnum.RSSI_MINUS_109_dBm => "-109dBm", 
					RssiEnum.RSSI_MINUS_108_dBm => "-108dBm", 
					RssiEnum.RSSI_MINUS_107_dBm => "-107dBm", 
					RssiEnum.RSSI_MINUS_106_dBm => "-106dBm", 
					RssiEnum.RSSI_MINUS_105_dBm => "-105dBm", 
					RssiEnum.RSSI_MINUS_104_dBm => "-104dBm", 
					RssiEnum.RSSI_MINUS_103_dBm => "-103dBm", 
					RssiEnum.RSSI_MINUS_102_dBm => "-102dBm", 
					RssiEnum.RSSI_MINUS_101_dBm => "-101dBm", 
					RssiEnum.RSSI_MINUS_100_dBm => "-100dBm", 
					RssiEnum.RSSI_MINUS_99_dBm => "-99dBm", 
					RssiEnum.RSSI_MINUS_98_dBm => "-98dBm", 
					RssiEnum.RSSI_MINUS_97_dBm => "-97dBm", 
					RssiEnum.RSSI_MINUS_96_dBm => "-96dBm", 
					RssiEnum.RSSI_MINUS_95_dBm => "-95dBm", 
					RssiEnum.RSSI_MINUS_94_dBm => "-94dBm", 
					RssiEnum.RSSI_MINUS_93_dBm => "-93dBm", 
					RssiEnum.RSSI_MINUS_92_dBm => "-92dBm", 
					RssiEnum.RSSI_MINUS_91_dBm => "-91dBm", 
					RssiEnum.RSSI_MINUS_90_dBm => "-90dBm", 
					RssiEnum.RSSI_MINUS_89_dBm => "-89dBm", 
					RssiEnum.RSSI_MINUS_88_dBm => "-88dBm", 
					RssiEnum.RSSI_MINUS_87_dBm => "-87dBm", 
					RssiEnum.RSSI_MINUS_86_dBm => "-86dBm", 
					RssiEnum.RSSI_MINUS_85_dBm => "-85dBm", 
					RssiEnum.RSSI_MINUS_84_dBm => "-84dBm", 
					RssiEnum.RSSI_MINUS_83_dBm => "-83dBm", 
					RssiEnum.RSSI_MINUS_82_dBm => "-82dBm", 
					RssiEnum.RSSI_MINUS_81_dBm => "-81dBm", 
					RssiEnum.RSSI_MINUS_80_dBm => "-80dBm", 
					RssiEnum.RSSI_MINUS_79_dBm => "-79dBm", 
					RssiEnum.RSSI_MINUS_78_dBm => "-78dBm", 
					RssiEnum.RSSI_MINUS_77_dBm => "-77dBm", 
					RssiEnum.RSSI_MINUS_76_dBm => "-76dBm", 
					RssiEnum.RSSI_MINUS_75_dBm => "-75dBm", 
					RssiEnum.RSSI_MINUS_74_dBm => "-74dBm", 
					RssiEnum.RSSI_MINUS_73_dBm => "-73dBm", 
					RssiEnum.RSSI_MINUS_72_dBm => "-72dBm", 
					RssiEnum.RSSI_MINUS_71_dBm => "-71dBm", 
					RssiEnum.RSSI_MINUS_70_dBm => "-70dBm", 
					RssiEnum.RSSI_MINUS_69_dBm => "-69dBm", 
					RssiEnum.RSSI_MINUS_68_dBm => "-68dBm", 
					RssiEnum.RSSI_MINUS_67_dBm => "-67dBm", 
					RssiEnum.RSSI_MINUS_66_dBm => "-66dBm", 
					RssiEnum.RSSI_MINUS_65_dBm => "-65dBm", 
					RssiEnum.RSSI_MINUS_64_dBm => "-64dBm", 
					RssiEnum.RSSI_MINUS_63_dBm => "-63dBm", 
					RssiEnum.RSSI_MINUS_62_dBm => "-62dBm", 
					RssiEnum.RSSI_MINUS_61_dBm => "-61dBm", 
					RssiEnum.RSSI_MINUS_60_dBm => "-60dBm", 
					RssiEnum.RSSI_MINUS_59_dBm => "-59dBm", 
					RssiEnum.RSSI_MINUS_58_dBm => "-58dBm", 
					RssiEnum.RSSI_MINUS_57_dBm => "-57dBm", 
					RssiEnum.RSSI_MINUS_56_dBm => "-56dBm", 
					RssiEnum.RSSI_MINUS_55_dBm => "-55dBm", 
					RssiEnum.RSSI_MINUS_54_dBm => "-54dBm", 
					RssiEnum.RSSI_MINUS_53_dBm => "-53dBm", 
					RssiEnum.RSSI_MINUS_52_dBm => "-52dBm", 
					RssiEnum.RSSI_MINUS_51_dBm => "-51dBm", 
					RssiEnum.RSSI_MINUS_50_dBm => "-50dBm", 
					RssiEnum.RSSI_MINUS_49_dBm => "-49dBm", 
					RssiEnum.RSSI_MINUS_48_dBm => "-48dBm", 
					RssiEnum.RSSI_MINUS_47_dBm => "-47dBm", 
					RssiEnum.RSSI_MINUS_46_dBm => "-46dBm", 
					RssiEnum.RSSI_MINUS_45_dBm => "-45dBm", 
					RssiEnum.RSSI_MINUS_44_dBm => "-44dBm", 
					RssiEnum.RSSI_MINUS_43_dBm => "-43dBm", 
					RssiEnum.RSSI_MINUS_42_dBm => "-42dBm", 
					RssiEnum.RSSI_MINUS_41_dBm => "-41dBm", 
					RssiEnum.RSSI_MINUS_40_dBm => "-40dBm", 
					RssiEnum.RSSI_MINUS_39_dBm => "-39dBm", 
					RssiEnum.RSSI_MINUS_38_dBm => "-38dBm", 
					RssiEnum.RSSI_MINUS_37_dBm => "-37dBm", 
					RssiEnum.RSSI_MINUS_36_dBm => "-36dBm", 
					RssiEnum.RSSI_MINUS_35_dBm => "-35dBm", 
					RssiEnum.RSSI_MINUS_34_dBm => "-34dBm", 
					RssiEnum.RSSI_MINUS_33_dBm => "-33dBm", 
					RssiEnum.RSSI_MINUS_32_dBm => "-32dBm", 
					RssiEnum.RSSI_MINUS_31_dBm => "-31dBm", 
					RssiEnum.RSSI_MINUS_30_dBm => "-30dBm", 
					RssiEnum.RSSI_MINUS_29_dBm => "-29dBm", 
					RssiEnum.RSSI_MINUS_28_dBm => "-28dBm", 
					RssiEnum.RSSI_MINUS_27_dBm => "-27dBm", 
					RssiEnum.RSSI_MINUS_26_dBm => "-26dBm", 
					RssiEnum.RSSI_MINUS_25_dBm => "-25dBm", 
					RssiEnum.RSSI_MINUS_24_dBm => "-24dBm", 
					RssiEnum.RSSI_MINUS_23_dBm => "-23dBm", 
					RssiEnum.RSSI_MINUS_22_dBm => "-22dBm", 
					RssiEnum.RSSI_MINUS_21_dBm => "-21dBm", 
					RssiEnum.RSSI_MINUS_20_dBm => "-20dBm", 
					RssiEnum.RSSI_MINUS_19_dBm => "-19dBm", 
					RssiEnum.RSSI_MINUS_18_dBm => "-18dBm", 
					RssiEnum.RSSI_MINUS_17_dBm => "-17dBm", 
					RssiEnum.RSSI_MINUS_16_dBm => "-16dBm", 
					RssiEnum.RSSI_MINUS_15_dBm => "-15dBm", 
					RssiEnum.RSSI_MINUS_14_dBm => "-14dBm", 
					RssiEnum.RSSI_MINUS_13_dBm => "-13dBm", 
					RssiEnum.RSSI_MINUS_12_dBm => "-12dBm", 
					RssiEnum.RSSI_MINUS_11_dBm => "-11dBm", 
					RssiEnum.RSSI_MINUS_10_dBm => "-10dBm", 
					RssiEnum.RSSI_MINUS_9_dBm => "-9dBm", 
					RssiEnum.RSSI_MINUS_8_dBm => "-8dBm", 
					RssiEnum.RSSI_MINUS_7_dBm => "-7dBm", 
					RssiEnum.RSSI_MINUS_6_dBm => "-6dBm", 
					RssiEnum.RSSI_MINUS_5_dBm => "-5dBm", 
					RssiEnum.RSSI_MINUS_4_dBm => "-4dBm", 
					RssiEnum.RSSI_MINUS_3_dBm => "-3dBm", 
					RssiEnum.RSSI_MINUS_2_dBm => "-2dBm", 
					RssiEnum.RSSI_MINUS_1_dBm => "-1dBm", 
					_ => "Invalid Rssi Value", 
				};
			}

			public static string RssiToDescription()
			{
				StringBuilder stringBuilder = new StringBuilder();
				stringBuilder.AppendLine("0x0 = 0dBm");
				stringBuilder.AppendLine("0x1 = 1dBm");
				stringBuilder.AppendLine("0x2 = 2dBm");
				stringBuilder.AppendLine("0x3 = 3dBm");
				stringBuilder.AppendLine("0x4 = 4dBm");
				stringBuilder.AppendLine("0x5 = 5dBm");
				stringBuilder.AppendLine("0x6 = 6dBm");
				stringBuilder.AppendLine("0x7 = 7dBm");
				stringBuilder.AppendLine("0x8 = 8dBm");
				stringBuilder.AppendLine("0x9 = 9dBm");
				stringBuilder.AppendLine("0xA = 10dBm");
				stringBuilder.AppendLine("0xB = 11dBm");
				stringBuilder.AppendLine("0xC = 12dBm");
				stringBuilder.AppendLine("0xD = 13dBm");
				stringBuilder.AppendLine("0xE = 14dBm");
				stringBuilder.AppendLine("0xF = 15dBm");
				stringBuilder.AppendLine("0x10 = 16dBm");
				stringBuilder.AppendLine("0x11 = 17dBm");
				stringBuilder.AppendLine("0x12 = 18dBm");
				stringBuilder.AppendLine("0x13 = 19dBm");
				stringBuilder.AppendLine("0x14 = 20dBm");
				stringBuilder.AppendLine("0x15 = 21dBm");
				stringBuilder.AppendLine("0x16 = 22dBm");
				stringBuilder.AppendLine("0x17 = 23dBm");
				stringBuilder.AppendLine("0x18 = 24dBm");
				stringBuilder.AppendLine("0x19 = 25dBm");
				stringBuilder.AppendLine("0x1A = 26dBm");
				stringBuilder.AppendLine("0x1B = 27dBm");
				stringBuilder.AppendLine("0x1C = 28dBm");
				stringBuilder.AppendLine("0x1D = 29dBm");
				stringBuilder.AppendLine("0x1E = 30dBm");
				stringBuilder.AppendLine("0x1F = 31dBm");
				stringBuilder.AppendLine("0x20 = 32dBm");
				stringBuilder.AppendLine("0x21 = 33dBm");
				stringBuilder.AppendLine("0x22 = 34dBm");
				stringBuilder.AppendLine("0x23 = 35dBm");
				stringBuilder.AppendLine("0x24 = 36dBm");
				stringBuilder.AppendLine("0x25 = 37dBm");
				stringBuilder.AppendLine("0x26 = 38dBm");
				stringBuilder.AppendLine("0x27 = 39dBm");
				stringBuilder.AppendLine("0x28 = 40dBm");
				stringBuilder.AppendLine("0x29 = 41dBm");
				stringBuilder.AppendLine("0x2A = 42dBm");
				stringBuilder.AppendLine("0x2B = 43dBm");
				stringBuilder.AppendLine("0x2C = 44dBm");
				stringBuilder.AppendLine("0x2D = 45dBm");
				stringBuilder.AppendLine("0x2E = 46dBm");
				stringBuilder.AppendLine("0x2F = 47dBm");
				stringBuilder.AppendLine("0x30 = 48dBm");
				stringBuilder.AppendLine("0x31 = 49dBm");
				stringBuilder.AppendLine("0x32 = 50dBm");
				stringBuilder.AppendLine("0x33 = 51dBm");
				stringBuilder.AppendLine("0x34 = 52dBm");
				stringBuilder.AppendLine("0x35 = 53dBm");
				stringBuilder.AppendLine("0x36 = 54dBm");
				stringBuilder.AppendLine("0x37 = 55dBm");
				stringBuilder.AppendLine("0x38 = 56dBm");
				stringBuilder.AppendLine("0x39 = 57dBm");
				stringBuilder.AppendLine("0x3A = 58dBm");
				stringBuilder.AppendLine("0x3B = 59dBm");
				stringBuilder.AppendLine("0x3C = 60dBm");
				stringBuilder.AppendLine("0x3D = 61dBm");
				stringBuilder.AppendLine("0x3E = 62dBm");
				stringBuilder.AppendLine("0x3F = 63dBm");
				stringBuilder.AppendLine("0x40 = 64dBm");
				stringBuilder.AppendLine("0x41 = 65dBm");
				stringBuilder.AppendLine("0x42 = 66dBm");
				stringBuilder.AppendLine("0x43 = 67dBm");
				stringBuilder.AppendLine("0x44 = 68dBm");
				stringBuilder.AppendLine("0x45 = 69dBm");
				stringBuilder.AppendLine("0x46 = 70dBm");
				stringBuilder.AppendLine("0x47 = 71dBm");
				stringBuilder.AppendLine("0x48 = 72dBm");
				stringBuilder.AppendLine("0x49 = 73dBm");
				stringBuilder.AppendLine("0x4A = 74dBm");
				stringBuilder.AppendLine("0x4B = 75dBm");
				stringBuilder.AppendLine("0x4C = 76dBm");
				stringBuilder.AppendLine("0x4D = 77dBm");
				stringBuilder.AppendLine("0x4E = 78dBm");
				stringBuilder.AppendLine("0x4F = 79dBm");
				stringBuilder.AppendLine("0x50 = 80dBm");
				stringBuilder.AppendLine("0x51 = 81dBm");
				stringBuilder.AppendLine("0x52 = 82dBm");
				stringBuilder.AppendLine("0x53 = 83dBm");
				stringBuilder.AppendLine("0x54 = 84dBm");
				stringBuilder.AppendLine("0x55 = 85dBm");
				stringBuilder.AppendLine("0x56 = 86dBm");
				stringBuilder.AppendLine("0x57 = 87dBm");
				stringBuilder.AppendLine("0x58 = 88dBm");
				stringBuilder.AppendLine("0x59 = 89dBm");
				stringBuilder.AppendLine("0x5A = 90dBm");
				stringBuilder.AppendLine("0x5B = 91dBm");
				stringBuilder.AppendLine("0x5C = 92dBm");
				stringBuilder.AppendLine("0x5D = 93dBm");
				stringBuilder.AppendLine("0x5E = 94dBm");
				stringBuilder.AppendLine("0x5F = 95dBm");
				stringBuilder.AppendLine("0x60 = 96dBm");
				stringBuilder.AppendLine("0x61 = 97dBm");
				stringBuilder.AppendLine("0x62 = 98dBm");
				stringBuilder.AppendLine("0x63 = 99dBm");
				stringBuilder.AppendLine("0x64 = 100dBm");
				stringBuilder.AppendLine("0x65 = 101dBm");
				stringBuilder.AppendLine("0x66 = 102dBm");
				stringBuilder.AppendLine("0x67 = 103dBm");
				stringBuilder.AppendLine("0x68 = 104dBm");
				stringBuilder.AppendLine("0x69 = 105dBm");
				stringBuilder.AppendLine("0x6A = 106dBm");
				stringBuilder.AppendLine("0x6B = 107dBm");
				stringBuilder.AppendLine("0x6C = 108dBm");
				stringBuilder.AppendLine("0x6D = 109dBm");
				stringBuilder.AppendLine("0x6E = 110dBm");
				stringBuilder.AppendLine("0x6F = 111dBm");
				stringBuilder.AppendLine("0x70 = 112dBm");
				stringBuilder.AppendLine("0x71 = 113dBm");
				stringBuilder.AppendLine("0x72 = 114dBm");
				stringBuilder.AppendLine("0x73 = 115dBm");
				stringBuilder.AppendLine("0x74 = 116dBm");
				stringBuilder.AppendLine("0x75 = 117dBm");
				stringBuilder.AppendLine("0x76 = 118dBm");
				stringBuilder.AppendLine("0x77 = 119dBm");
				stringBuilder.AppendLine("0x78 = 120dBm");
				stringBuilder.AppendLine("0x79 = 121dBm");
				stringBuilder.AppendLine("0x7A = 122dBm");
				stringBuilder.AppendLine("0x7B = 123dBm");
				stringBuilder.AppendLine("0x7C = 124dBm");
				stringBuilder.AppendLine("0x7D = 125dBm");
				stringBuilder.AppendLine("0x7E = 126dBm");
				stringBuilder.AppendLine("0x7F = 127dBm");
				stringBuilder.AppendLine("0x80 = -128dBm");
				stringBuilder.AppendLine("0x81 = -127dBm");
				stringBuilder.AppendLine("0x82 = -126dBm");
				stringBuilder.AppendLine("0x83 = -125dBm");
				stringBuilder.AppendLine("0x84 = -124dBm");
				stringBuilder.AppendLine("0x85 = -123dBm");
				stringBuilder.AppendLine("0x86 = -122dBm");
				stringBuilder.AppendLine("0x87 = -121dBm");
				stringBuilder.AppendLine("0x88 = -120dBm");
				stringBuilder.AppendLine("0x89 = -119dBm");
				stringBuilder.AppendLine("0x8A = -118dBm");
				stringBuilder.AppendLine("0x8B = -117dBm");
				stringBuilder.AppendLine("0x8C = -116dBm");
				stringBuilder.AppendLine("0x8D = -115dBm");
				stringBuilder.AppendLine("0x8E = -114dBm");
				stringBuilder.AppendLine("0x8F = -113dBm");
				stringBuilder.AppendLine("0x90 = -112dBm");
				stringBuilder.AppendLine("0x91 = -111dBm");
				stringBuilder.AppendLine("0x92 = -110dBm");
				stringBuilder.AppendLine("0x93 = -109dBm");
				stringBuilder.AppendLine("0x94 = -108dBm");
				stringBuilder.AppendLine("0x95 = -107dBm");
				stringBuilder.AppendLine("0x96 = -106dBm");
				stringBuilder.AppendLine("0x97 = -105dBm");
				stringBuilder.AppendLine("0x98 = -104dBm");
				stringBuilder.AppendLine("0x99 = -103dBm");
				stringBuilder.AppendLine("0x9A = -102dBm");
				stringBuilder.AppendLine("0x9B = -101dBm");
				stringBuilder.AppendLine("0x9C = -100dBm");
				stringBuilder.AppendLine("0x9D = -99dBm");
				stringBuilder.AppendLine("0x9E = -98dBm");
				stringBuilder.AppendLine("0x9F = -97dBm");
				stringBuilder.AppendLine("0xA0 = -96dBm");
				stringBuilder.AppendLine("0xA1 = -95dBm");
				stringBuilder.AppendLine("0xA2 = -94dBm");
				stringBuilder.AppendLine("0xA3 = -93dBm");
				stringBuilder.AppendLine("0xA4 = -92dBm");
				stringBuilder.AppendLine("0xA5 = -91dBm");
				stringBuilder.AppendLine("0xA6 = -90dBm");
				stringBuilder.AppendLine("0xA7 = -89dBm");
				stringBuilder.AppendLine("0xA8 = -88dBm");
				stringBuilder.AppendLine("0xA9 = -87dBm");
				stringBuilder.AppendLine("0xAA = -86dBm");
				stringBuilder.AppendLine("0xAB = -85dBm");
				stringBuilder.AppendLine("0xAC = -84dBm");
				stringBuilder.AppendLine("0xAD = -83dBm");
				stringBuilder.AppendLine("0xAE = -82dBm");
				stringBuilder.AppendLine("0xAF = -81dBm");
				stringBuilder.AppendLine("0xB0 = -80dBm");
				stringBuilder.AppendLine("0xB1 = -79dBm");
				stringBuilder.AppendLine("0xB2 = -78dBm");
				stringBuilder.AppendLine("0xB3 = -77dBm");
				stringBuilder.AppendLine("0xB4 = -76dBm");
				stringBuilder.AppendLine("0xB5 = -75dBm");
				stringBuilder.AppendLine("0xB6 = -74dBm");
				stringBuilder.AppendLine("0xB7 = -73dBm");
				stringBuilder.AppendLine("0xB8 = -72dBm");
				stringBuilder.AppendLine("0xB9 = -71dBm");
				stringBuilder.AppendLine("0xBA = -70dBm");
				stringBuilder.AppendLine("0xBB = -69dBm");
				stringBuilder.AppendLine("0xBC = -68dBm");
				stringBuilder.AppendLine("0xBD = -67dBm");
				stringBuilder.AppendLine("0xBE = -66dBm");
				stringBuilder.AppendLine("0xBF = -65dBm");
				stringBuilder.AppendLine("0xC0 = -64dBm");
				stringBuilder.AppendLine("0xC1 = -63dBm");
				stringBuilder.AppendLine("0xC2 = -62dBm");
				stringBuilder.AppendLine("0xC3 = -61dBm");
				stringBuilder.AppendLine("0xC4 = -60dBm");
				stringBuilder.AppendLine("0xC5 = -59dBm");
				stringBuilder.AppendLine("0xC6 = -58dBm");
				stringBuilder.AppendLine("0xC7 = -57dBm");
				stringBuilder.AppendLine("0xC8 = -56dBm");
				stringBuilder.AppendLine("0xC9 = -55dBm");
				stringBuilder.AppendLine("0xCA = -54dBm");
				stringBuilder.AppendLine("0xCB = -53dBm");
				stringBuilder.AppendLine("0xCC = -52dBm");
				stringBuilder.AppendLine("0xCD = -51dBm");
				stringBuilder.AppendLine("0xCE = -50dBm");
				stringBuilder.AppendLine("0xCF = -49dBm");
				stringBuilder.AppendLine("0xD0 = -48dBm");
				stringBuilder.AppendLine("0xD1 = -47dBm");
				stringBuilder.AppendLine("0xD2 = -46dBm");
				stringBuilder.AppendLine("0xD3 = -45dBm");
				stringBuilder.AppendLine("0xD4 = -44dBm");
				stringBuilder.AppendLine("0xD5 = -43dBm");
				stringBuilder.AppendLine("0xD6 = -42dBm");
				stringBuilder.AppendLine("0xD7 = -41dBm");
				stringBuilder.AppendLine("0xD8 = -40dBm");
				stringBuilder.AppendLine("0xD9 = -39dBm");
				stringBuilder.AppendLine("0xDA = -38dBm");
				stringBuilder.AppendLine("0xDB = -37dBm");
				stringBuilder.AppendLine("0xDC = -36dBm");
				stringBuilder.AppendLine("0xDD = -35dBm");
				stringBuilder.AppendLine("0xDE = -34dBm");
				stringBuilder.AppendLine("0xDF = -33dBm");
				stringBuilder.AppendLine("0xE0 = -32dBm");
				stringBuilder.AppendLine("0xE1 = -31dBm");
				stringBuilder.AppendLine("0xE2 = -30dBm");
				stringBuilder.AppendLine("0xE3 = -29dBm");
				stringBuilder.AppendLine("0xE4 = -28dBm");
				stringBuilder.AppendLine("0xE5 = -27dBm");
				stringBuilder.AppendLine("0xE6 = -26dBm");
				stringBuilder.AppendLine("0xE7 = -25dBm");
				stringBuilder.AppendLine("0xE8 = -24dBm");
				stringBuilder.AppendLine("0xE9 = -23dBm");
				stringBuilder.AppendLine("0xEA = -22dBm");
				stringBuilder.AppendLine("0xEB = -21dBm");
				stringBuilder.AppendLine("0xEC = -20dBm");
				stringBuilder.AppendLine("0xED = -19dBm");
				stringBuilder.AppendLine("0xEE = -18dBm");
				stringBuilder.AppendLine("0xEF = -17dBm");
				stringBuilder.AppendLine("0xF0 = -16dBm");
				stringBuilder.AppendLine("0xF1 = -15dBm");
				stringBuilder.AppendLine("0xF2 = -14dBm");
				stringBuilder.AppendLine("0xF3 = -13dBm");
				stringBuilder.AppendLine("0xF4 = -12dBm");
				stringBuilder.AppendLine("0xF5 = -11dBm");
				stringBuilder.AppendLine("0xF6 = -10dBm");
				stringBuilder.AppendLine("0xF7 = -9dBm");
				stringBuilder.AppendLine("0xF8 = -8dBm");
				stringBuilder.AppendLine("0xF9 = -7dBm");
				stringBuilder.AppendLine("0xFA = -6dBm");
				stringBuilder.AppendLine("0xFB = -5dBm");
				stringBuilder.AppendLine("0xFC = -4dBm");
				stringBuilder.AppendLine("0xFD = -3dBm");
				stringBuilder.AppendLine("0xFE = -2dBm");
				stringBuilder.AppendLine("0xFF = -1dBm");
				return stringBuilder.ToString();
			}
		}

		private const uint _CommandOpcode = 5125u;

		private uint _NumHciCommandPackets;

		private uint _Status;

		private uint _Handle;

		private uint _Rssi;

		public uint NumHciCommandPackets
		{
			get
			{
				return _NumHciCommandPackets;
			}
			set
			{
				if (value > 255)
				{
					throw new Exception("Maximum possible value for NumHciCommandPackets is 0xFF");
				}
				_NumHciCommandPackets = value;
			}
		}

		public uint CommandOpcode => 5125u;

		public uint Status
		{
			get
			{
				return _Status;
			}
			set
			{
				if (value > 255)
				{
					throw new Exception("Maximum possible value for Status is 0xFF");
				}
				_Status = value;
			}
		}

		public uint Handle
		{
			get
			{
				return _Handle;
			}
			set
			{
				if (value > 65535)
				{
					throw new Exception("Maximum possible value for Handle is 0xFFFF");
				}
				_Handle = value;
			}
		}

		public uint Rssi
		{
			get
			{
				return _Rssi;
			}
			set
			{
				if (value > 255)
				{
					throw new Exception("Maximum possible value for Rssi is 0xFF");
				}
				_Rssi = value;
			}
		}

		public CommandOpcodeEnum GetCommandOpcodeAsCommandOpcodeEnum()
		{
			return CommandOpcodeInfo.ValueToCommandOpcode(5125u);
		}

		public ErrorCodeEnum GetStatusAsErrorCodeEnum()
		{
			return ErrorCodeInfo.ValueToErrorCode(_Status);
		}

		public void SetStatusAsErrorCodeEnum(ErrorCodeEnum enumItem)
		{
			Status = ErrorCodeInfo.ErrorCodeToValue(enumItem);
		}

		public RssiEnum GetRssiAsRssiEnum()
		{
			return RssiInfo.ValueToRssi(_Rssi);
		}

		public void SetRssiAsRssiEnum(RssiEnum enumItem)
		{
			Rssi = RssiInfo.RssiToValue(enumItem);
		}
	}

	private const uint _EventCode = 14u;

	private Type[] expectedResponseTypes = new Type[0];

	private PacketInfoBase info;

	private uint _PayloadLength;

	public UserFieldsWrapper _UserFields = new UserFieldsWrapper();

	public override PacketType Type => PacketType.Notification;

	public override Type[] ExpectedResponseTypes => expectedResponseTypes;

	public override PacketInfoBase Info
	{
		get
		{
			if (info == null)
			{
				info = new CommandCompleteForReadRssiInfo(this);
			}
			return info;
		}
	}

	public uint EventCode => 14u;

	public uint PayloadLength
	{
		get
		{
			ToBitString();
			return _PayloadLength;
		}
	}

	public UserFieldsWrapper UserFields => _UserFields;

	public override void SetDefaultValues()
	{
		UserFields.NumHciCommandPackets = 1u;
	}

	protected override bool FromBitBuilder(ref BitBuilder bitBuilder)
	{
		if (bitBuilder.RemoveBitsAsUint(8) != EventCode)
		{
			return false;
		}
		_PayloadLength = bitBuilder.RemoveBitsAsUint(8);
		int numberOfBits = bitBuilder.GetNumberOfBits();
		if (numberOfBits > _PayloadLength * 8 + 7)
		{
			return false;
		}
		if (numberOfBits < _PayloadLength * 8)
		{
			return false;
		}
		UserFields.NumHciCommandPackets = bitBuilder.RemoveBitsAsUint(8);
		if (bitBuilder.RemoveBitsAsUintLittleEndian(16) != UserFields.CommandOpcode)
		{
			return false;
		}
		UserFields.Status = bitBuilder.RemoveBitsAsUint(8);
		UserFields.Handle = bitBuilder.RemoveBitsAsUintLittleEndian(16);
		UserFields.Rssi = bitBuilder.RemoveBitsAsUint(8);
		if (bitBuilder.GetNumberOfBits() > 7)
		{
			return false;
		}
		return true;
	}

	public override string ToBitString()
	{
		BitBuilder bitBuilder = new BitBuilder();
		bitBuilder.AddBitsAsUint(EventCode, 8);
		int numberOfBits = bitBuilder.GetNumberOfBits();
		bitBuilder.AddBitsAsUint(0u, 8);
		bitBuilder.AddBitsAsUint(UserFields.NumHciCommandPackets, 8);
		bitBuilder.AddBitsAsUintLittleEndian(UserFields.CommandOpcode, 16);
		bitBuilder.AddBitsAsUint(UserFields.Status, 8);
		bitBuilder.AddBitsAsUintLittleEndian(UserFields.Handle, 16);
		bitBuilder.AddBitsAsUint(UserFields.Rssi, 8);
		_PayloadLength = (uint)((bitBuilder.GetNumberOfBits() - numberOfBits - 8) / 8);
		if ((bitBuilder.GetNumberOfBits() - numberOfBits - 8) % 8 != 0)
		{
			_PayloadLength++;
		}
		bitBuilder.ChangeBitsAsUint(numberOfBits, _PayloadLength, 8);
		return bitBuilder.ToString();
	}
}
