// @Citi Smart City // http://en.isys.pl/ // http://ehouse.biz/ // Smart Lighting, Smart Metering, Localization // GSM 2G/3G/4G/LTE Cat M1, NB-IoT // GNSS (GPS) - Long, Lat,Alt, Speed .. // SMS, TCP/IP, UDP, Cloud // Hardware resources // 16 binary inputs (DI) // 16 binary outputs (DO) // 8 ADC Measurement inputs with voltage/capacitance etc. (AIN) // 4 PWM/0..10V Dimmers // Infrared TX/RX // 4 Nonvolatile Counters ubyte type; utf8[16] imei; utf8 cmd; bit out1; bit out2; bit out3; bit out4; bit out5; bit out6; bit out7; bit out8; bit out9; bit out10; bit out11; bit out12; bit out13; bit out14; bit out15; bit out16; bit input1; bit input2; bit input3; bit input4; bit input5; bit input6; bit input7; bit input8; bit input9; bit input10; bit input11; bit input12; bit input13; bit input14; bit input15; bit input16; short adc1; short adc2; short adc3; short adc4; short adc5; short adc6; short adc7; short adc8; ubyte dimm1; ubyte dimm2; ubyte dimm3; ubyte dimm4; ubyte dimm5; ubyte dimm6; ubyte dimm7; ubyte dimm8; ubyte rssi; ubyte rsrp; int counter1; int counter2; utf8[10] gpslat; utf8[11] gpslon; utf8[3] gpshdop; utf8[6] gpsalt; utf8 gpsfix; utf8[6] gpscog; utf8[6] gpsspeedkm; utf8[2] gpssats; //Payload 473133343536333136323630363831390073010006000FFF05820351000000001CE11D1C1D8900FFFF00FFFFFFFF5E68FFFFFFFFFFFFFFFF353230322E373335334E30323131352E3832373445302E3935302E34000033302E30000000302E300000003036000000000000000000000000000000000000000000000000000000000000 //Results RSSI:94/104 o:0100 i:0600 ADCs: 4095, 1410, 849, 0, 0, 7393, 7452, 7561, Dimm: 0,255,255,0,255,255,255,255 Counters: -1,-1 GPS Lat:5202.7353N, Lon:02115.8274E, HDop:0.9, Alt:50.4, Fix:3, Cog: 0.0, Speed:0.0, SATs:06 { "Cntr Type Smart City": {{type}}, "IMEI": "{{imei}}", "DOut 1": {{out1}}, "DOut 2": {{out2}}, "DOut 3": {{out3}}, "DOut 4": {{out4}}, "DOut 5": {{out5}}, "DOut 6": {{out6}}, "DOut 7": {{out7}}, "DOut 8": {{out8}}, "DOut 9": {{out9}}, "DOut 10": {{out10}}, "DOut 11": {{out11}}, "DOut 12": {{out12}}, "DOut 13": {{out13}}, "DOut 14": {{out14}}, "DOut 15": {{out15}}, "DOut 16": {{out16}}, "DIN 1": {{input1}}, "DIN 2": {{input2}}, "DIN 3": {{input3}}, "DIN 4": {{input4}}, "DIN 5": {{input5}}, "DIN 6": {{input6}}, "DIN 7": {{input7}}, "DIN 8": {{input8}}, "DIN 9": {{input9}}, "DIN 10": {{input10}}, "DIN 11": {{input11}}, "DIN 12": {{input12}}, "DIN 13": {{input13}}, "DIN 14": {{input14}}, "DIN 15": {{input15}}, "DIN 16": {{input16}}, "ADC 1":{{#math}}{{adc1}}{{/math}}, "ADC 2":{{#math}}{{adc2}}{{/math}}, "ADC 3":{{#math}}{{adc3}}{{/math}}, "ADC 4":{{#math}}{{adc4}}{{/math}}, "ADC 5":{{#math}}{{adc5}}{{/math}}, "ADC 6":{{#math}}{{adc6}}{{/math}}, "ADC 7":{{#math}}{{adc7}}{{/math}}, "ADC 8":{{#math}}{{adc8}}{{/math}}, "Dimmer 1":{{dimm1}}, "Dimmer 2":{{dimm2}}, "Dimmer 3":{{dimm3}}, "Dimmer 4":{{dimm4}}, "Dimmer 5":{{dimm5}}, "Dimmer 6":{{dimm6}}, "Dimmer 7":{{dimm7}}, "Dimmer 8":{{dimm8}}, "RSSI": "-{{rssi}} dBm", "RSRP": "-{{rsrp}} dBm", "Counter 1": {{counter1}}, "Counter 2": {{counter2}}, "GPS Lat": "{{gpslat}}", "GPS Lon": "{{gpslon}}", "GPS Hdp": "{{gpshdop}}", "GPS Alt": "{{gpsalt}}", "GPS Fix": "{{gpsfix}}", "GPS Cog": "{{gpscog}}", "GPS kmh": "{{gpsspeedkm}}", "GPS SAT": "{{gpssats}}" }