25 static GType protocol = 0;
27 static GEnumValue protocols[] = {
28 {NNS_EDGE_CONNECT_TYPE_TCP,
"TCP",
29 "Directly sending stream frames via TCP connections."},
30 {NNS_EDGE_CONNECT_TYPE_HYBRID,
"HYBRID",
31 "Connect with MQTT brokers and directly sending stream frames via TCP connections."},
32 {NNS_EDGE_CONNECT_TYPE_MQTT,
"MQTT",
33 "Sending stream frames via MQTT connections."},
34 {NNS_EDGE_CONNECT_TYPE_CUSTOM,
"CUSTOM",
35 "Sending stream frames via CUSTOM connections."},
38 protocol = g_enum_register_static (
"edge_protocol", protocols);