DtvKit_ATSC3.0
Loading...
Searching...
No Matches
atsccore_prod_config.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3 *
4 * This file is part of a DTVKit Software Component
5 * You are permitted to copy, modify or distribute this file subject to the terms
6 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
7 *
8 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
10 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * If you or your organisation is not a member of DTVKit then you have access
13 * to this source code outside of the terms of the licence agreement
14 * and you are expected to delete this and any associated files immediately.
15 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
16 *******************************************************************************/
17#ifndef __ATSCCORE_PROD_CONFIG_H__
18#define __ATSCCORE_PROD_CONFIG_H__
19
20#include <inttypes.h>
21#include <stdio.h>
22
27#ifdef __cplusplus
28extern "C" {
29#endif
30
34#define API_VERSION "2.0"
35
39#define BUILD_DATE "10-07-2024"
40
44#define ATSCCORE_FRONTEND_MAX 2
45
49#define ATSCCORE_SUPPORTED_STANDARDS ( eStandardATSC30 )
50
54#define ATSCCORE_ATSC1_DEMOD_TYPE ( eDemod8VSB )
55
59#define ATSCCORE_DEFAULT_DEMOD ( eDemodATSC30 )
60
64#define ATSCCORE_DEFAULT_REGION 0 // US
65
69#define ATSCCORE_DEFAULT_CHANNEL 56
70
71/* The below channel minimum and maximum value supported
72 * based on iFreqTable array mapping */
73
77#define ATSCCORE_US_MIN_CHANNEL 2
78
82#define ATSCCORE_US_MAX_CHANNEL 71
83
87#define ATSCCORE_KOREA_MIN_CHANNEL 2
88
92#define ATSCCORE_KOREA_MAX_CHANNEL 56
93
97#define ATSCCORE_INDIA_MIN_CHANNEL 21
98
102#define ATSCCORE_INDIA_MAX_CHANNEL 68
103
104
108#define ATSCCORE_HTTP_URL_SUPPORTED 64
109
113#define ATSCCORE_HTTP_URL_STRING_LENGTH 256
114
118#define WEB_URL_PORT_NUMBER 81
119
123#define GUIDE_PATH "/var/www/html/msg/"
124
128#define GUIDE_FILE_NAME_WITH_PATH "/var/www/html/msg/guide.json"
129
133#define ROOT_PATH "/var/www/html"
134
138#define ENV_PATH "/var/www/html/env.conf"
139
143#define ENV_JSON_PATH "/var/www/html/env.json"
144
148#define ESG_PATH "/var/www/html/esg"
149
153#define FILES_STORAGE_PATH "/var/www/html/files/storage/"
154
158#define STORAGE_FILES "/var/www/html/files"
159
163#define MSG_FILE_PATH "/var/www/html/msg/slt.json"
164
168#define HLS_FILE_PATH "/var/www/html/hls"
169
173#define M3U8_FILE "/var/www/html/hls/%d-%d/index.m3u8"
174
178#define M3U8_FILE_PATH "/var/www/html/hls/%d-%d/"
179
183#define REMOVE_DUMP_FILE "rm -rf /var/www/html/dump/*.*"
184
188#define DUMP_FILE_PATH "/var/www/html/dump/%s"
189
193#define ATSCCORE_DB_PATH "/var/www/html/db"
194
198#define ATSCCORE_DB_FILE "/var/www/html/db/homegateway.db"
199
203#define ATSCCORE_DUMP_FILE "/var/www/html/dump/dump_history.json"
204
208#define ATSCCORE_MOUNT_PATH "/proc/mounts"
209
213#define ATSCCORE_FRONTEND_DEV_PATH "/dev/dvb/adapter%d/frontend0"
214
218#define ATSCCORE_DEMUX_DEV_PATH "/dev/dvb/adapter%d/demux0"
219
223#define ATSCCORE_VERSION "/version"
224
228#define ATSCCORE_TUNER_INFO "/tuners/"
229
233#define ATSCCORE_SERVICE "/services"
234
238#define ATSCCORE_GUIDE "/guide"
239
243#define ATSCCORE_TUNERS_INFO "/tuners"
244
248#define ATSCCORE_PREPARE_TUNER_INFO "/info"
249
253#define ATSCCORE_DUMP_HISTORY "/dump/history"
254
258#define ATSCCORE_GUIDE_AEAT "/aeat"
259
263#define ATSCCORE_JSONRPC_QUERY_RESPONSE "/jsonrpc"
264
268#define ATSCCORE_EAS_CLEAR "/eas/clear"
269
273#define ATSCCORE_DUMP "/dump"
274
278#define ATSCCORE_SERVICES "/services/"
279
283#define ATSCCORE_SCAN "/scan"
284
288#define ATSCCORE_TUNER_CONFIG "/tuners/config"
289
293#define ATSCCORE_SELECT_SERVICE "/selectservice"
294
298#define ATSCCORE_START_CHANNEL 2
299
303#define ATSCCORE_END_CHANNEL 70
304
308#define ATSCCORE_HTTP_URL_STRING_LENGTH 256
309
310#ifdef __cplusplus
311};
312#endif
313
314#endif /* __ATSCCORE_PROD_CONFIG_H__ */
315
316