-
Notifications
You must be signed in to change notification settings - Fork 6
/
metadata_writer_zeromq_monroe.c
117 lines (109 loc) · 2.16 KB
/
metadata_writer_zeromq_monroe.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#include "metadata_writer_zeromq.h"
const char *monroe_topics[MD_ZMQ_TOPICS_MAX + 1] = {
"MONROE.META.NODE.EVENT",
"MONROE.META.NODE.SENSOR",
"MONROE.META.DEVICE.MODEM",
"MONROE.META.DEVICE.CONNECTIVITY",
"MONROE.META.DEVICE.GPS",
"STATE",
"MODE",
"SIGNAL",
"LTE_BAND",
"ISP_NAME",
"UPDATE",
"IP_ADDR",
"LOC_CHANGE",
"NW_MCCMNC_CHANGE",
"RADIO_CELL_LOCATION_GERAN",
"RADIO_GSM_RR_CELL_SEL_RESEL_PARAM",
"RADIO_GRR_CELL_RESEL",
"RADIO_GSM_RR_CIPHER_MODE",
"RADIO_GSM_RR_CHANNEL_CONF"
};
const char *monroe_keys[MD_ZMQ_KEYS_MAX + 1] = {
"SequenceNumber",
"Timestamp",
"DataId",
"DataVersion",
"CID",
"DeviceMode",
"DeviceSubmode",
"DeviceState",
"ECIO",
"ENODEBID",
"ICCID",
"InterfaceName",
"IMSI",
"IMSIMCCMNC",
"IMEI",
"IPAddress",
"InternalIPAddress",
"Operator",
"LAC",
"RSRP",
"Frequency",
"RSSI",
"RSRQ",
"Band",
"PCI",
"Mode",
"NWMCCMNC",
"RSCP",
"RSSI",
"SignalStrength",
"ICCID",
"InterfaceName",
"Operator",
"Altitude",
"Longitude",
"Latitude",
"SatelliteCount",
"NMEA",
"Speed",
"CellID",
"PLMN",
"LAC",
"ARFCN",
"BSIC",
"TimingAdvance",
"RXLEV",
"CellGeranInfoNumber",
"ServingBCCHARFCN",
"ServingPBCCHARFCN",
"ServingPriorityClass",
"ServingRXLEVAverage",
"ServingC1",
"ServingC2",
"ServingC31",
"ServingC32",
"ServingFiveSecondTimer",
"CellReselectStatus",
"RecentCellSelection",
"GRRCellNeighbors",
"CipheringState",
"CipheringAlgorithm",
"CellReselectHysteresis",
"MSTXPowerMaxCCH",
"RXLEVAccessMin",
"PowerOffsetValid",
"PowerOffset",
"NECI",
"ACS",
"OptReselectParamInd",
"CellBarQualify",
"CellReselectOffset",
"TemporaryOffset",
"PenaltyTime",
"DedicatedChannelCount",
"DTXIndicator",
"PowerLevel",
"StartingTimeValid",
"StartingTime",
"CipherFlag",
"CipherAlgorithm",
"AfterChannelConfig",
"BeforeChannelCondif",
"ChannelMode1",
"ChannelMode2",
"InternalInterface"
};