-
Notifications
You must be signed in to change notification settings - Fork 3
/
de_comm.config.module.json
62 lines (47 loc) · 2.07 KB
/
de_comm.config.module.json
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
{
/*
This is a JSON file with ability to add c-like comments.
*/
// A name and GUID for this module
"module_id" : "MT_1",
// IP & Port Communication Module is listening to.
"s2s_udp_listening_ip" : "0.0.0.0",
"s2s_udp_listening_port" : "60000",
"s2s_udp_packet_size" : "8192",
// Drone-Engage Communication Server Connection
"auth_ip" : "cloud.ardupilot.org",
"auth_port" : 19408,
"auth_verify_ssl" : true,
//this is optional if [auth_verify_ssl] == true and ssl-certificate is internal.
"root_certificate_path" : "./root.crt",
"userName" :"[email protected]",
"accessCode" :"mhefny",
"unitID" :"drone_cairo",
"groupID" :"1",
"unitDescription" :"de_unit 1",
// Logger Section
"logger_enabled" : false,
"logger_debug" : false,
// sometimes you need to reconnect the app when connection is silent and not timedout yet:
"ping_server_rate_in_ms": 1500,
"max_allowed_ping_delay_in_ms": 5000,
// "led_pins_enabled" is optional and default value is true
"led_pins_enabled" : false,
// "led_pins" optional field
"led_pins" :[
{"name":"status", "gpio":26},
{"name":"LED1", "gpio":19}
], // LIST GPIO
// "buzzer_pins_enabled" is optional and default value is true
"buzzer_pins_enabled" : false,
// "buzzer_pins" optional field
"buzzer_pins" :[
{"name":"status", "gpio":13},
{"name":"LoudBuzzer", "gpio":6}
],
//"allow_temp": cat /sys/class/thermal/thermal_zone0
"images": {
"save_images": true,
"media_folder": "./media"
}
}