mbgtools-lx  4.2.8
pcpslstr.h File Reference
#include <str_util.h>
#include <charcode.h>
#include <cfg_hlp.h>
#include <pcpsdev.h>
#include <ctrydttm.h>
#include <cnv_wday.h>

Go to the source code of this file.

Data Structures

struct  PCPS_STATUS_STR
 
struct  PCPS_STATUS_STRS
 

Macros

#define _ext   extern
 
#define DEFAULT_PCPS_WDAY_DATE_DIST   1
 
#define DEFAULT_PCPS_DATE_TIME_DIST   2
 
#define DEFAULT_PCPS_TIME_TZ_DIST   1
 
#define N_PCPS_STATUS_STR   3
 
#define DEFAULT_STR_TIME_ADJ_STATUS
 
#define DEFAULT_STR_SYS_TIME
 
#define DEFAULT_STR_REF_TIME
 
#define DEFAULT_STR_DELTA_TIME
 
#define DEFAULT_STR_LAST_CORR
 
#define DEFAULT_STR_WAIT_SYNC
 
#define DEFAULT_STR_REF_TIME_INFO
 
#define DEFAULT_STR_REF_SRC_LABEL
 
#define DEFAULT_STR_REF_SYNC_LABEL
 
#define DEFAULT_STR_TIME_INVAL_EN   "Ref. Time is Invalid"
 
#define DEFAULT_STR_TIME_INVAL_DE   "Referenzzeit nicht g" LCUE "ltig"
 
#define DEFAULT_STR_TIME_INVAL
 
#define DEFAULT_STR_SET_MANUALLY
 
#define DEFAULT_STR_DCF_HAS_SYNCD
 
#define DEFAULT_STR_DCF_HAS_NOT_SYNCD
 
#define DEFAULT_STR_DCF_FREE_RUNNING
 
#define DEFAULT_STR_DCF_NOT_FREE_RUNNING
 
#define DEFAULT_STR_GPS_SYNCD
 
#define DEFAULT_STR_GPS_NOT_SYNCD
 
#define DEFAULT_STR_GPS_POS_OK
 
#define DEFAULT_STR_GPS_POS_NOT_OK
 
#define DEFAULT_STR_ANN_DST
 
#define DEFAULT_STR_ANN_LS
 
#define DEFAULT_OPT_NAME_SETUP_EN   "Setup"
 
#define DEFAULT_OPT_NAME_SETUP_DE   "Einstellungen"
 
#define DEFAULT_OPT_NAME_SETUP
 
#define DEFAULT_OPT_NAME_SET_TIME_EN   "Radio Clock's Date/Time"
 
#define DEFAULT_OPT_NAME_SET_TIME_DE   "Datum/Zeit der Funkuhr"
 
#define DEFAULT_OPT_NAME_SET_TIME
 
#define DEFAULT_STR_NEW_DATE
 
#define DEFAULT_STR_NEW_TIME
 
#define TZ_NAME_UTC   "UTC"
 
#define TZ_NAME_MEZ   "MEZ"
 
#define TZ_NAME_MESZ   "MESZ"
 
#define TZ_NAME_CET   "CET"
 
#define TZ_NAME_CEST   "CEST"
 
#define TZ_NAME_OEZ   "OEZ"
 
#define TZ_NAME_OESZ   "OESZ"
 
#define TZ_NAME_EET   "EET"
 
#define TZ_NAME_EEST   "EEST"
 
#define TZ_NAME_WEZ   "WEZ"
 
#define TZ_NAME_WESZ   "WESZ"
 
#define TZ_NAME_GMT   "GMT"
 
#define TZ_NAME_BST   "BST"
 
#define DEFAULT_OPT_NAME_TZ
 
#define DEFAULT_TZCODE_NAME_CET_CEST
 
#define DEFAULT_TZCODE_HINT_CET_CEST
 
#define DEFAULT_TZCODE_NAME_GMT_BST
 
#define DEFAULT_TZCODE_HINT_GMT_BST
 
#define DEFAULT_TZCODE_NAME_CET
 
#define DEFAULT_TZCODE_HINT_CET
 
#define DEFAULT_TZCODE_NAME_UTC
 
#define DEFAULT_TZCODE_HINT_UTC
 
#define DEFAULT_TZCODE_NAME_EET_EEST
 
#define DEFAULT_TZCODE_HINT_EET_EEST
 
#define DEFAULT_TZCODE_NAMES
 
#define DEFAULT_TZCODE_HINTS
 
#define DEFAULT_OPT_NAME_SERIAL
 
#define DEFAULT_OPT_NAME_EF
 
#define DEFAULT_OPT_NAME_CAB_LEN
 
#define DEFAULT_OPT_NAME_TR_DISTANCE
 
#define DEFAULT_OPT_NAME_IRIG_TX_EN   "IRIG Output"
 
#define DEFAULT_OPT_NAME_IRIG_TX_DE   "IRIG-Ausgang"
 
#define DEFAULT_OPT_NAME_IRIG_TX
 
#define DEFAULT_OPT_NAME_IRIG_RX_EN   "IRIG Input"
 
#define DEFAULT_OPT_NAME_IRIG_RX_DE   "IRIG-Eingang"
 
#define DEFAULT_OPT_NAME_IRIG_RX
 
#define DEFAULT_STR_IRIG_FMT_EN   "IRIG Code Format"
 
#define DEFAULT_STR_IRIG_FMT_DE   "IRIG Code-Format"
 
#define DEFAULT_STR_IRIG_FMT
 
#define DEFAULT_STR_IRIG_OFFS_EN   "IRIG Time Offset from UTC"
 
#define DEFAULT_STR_IRIG_OFFS_DE   "IRIG-Zeitoffset zu UTC"
 
#define DEFAULT_STR_IRIG_OFFS
 
#define DEFAULT_STR_IRIG_TIMESTR_UTC_EN   "Send serial UTC"
 
#define DEFAULT_STR_IRIG_TIMESTR_UTC_DE   "Seriell UTC ausgeben"
 
#define DEFAULT_STR_IRIG_TIMESTR_UTC
 
#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM_EN   "Transmit local time instead of UTC"
 
#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM_DE   "Ortszeit statt UTC aussenden"
 
#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM
 
#define DEFAULT_IGNORE_RX_TFOM_EN   "Ignore TFOM"
 
#define DEFAULT_IGNORE_RX_TFOM_DE   "Ignoriere TFOM"
 
#define DEFAULT_IGNORE_RX_TFOM
 
#define DEFAULT_STR_TFOM_ALWAYS_SYNC_EN   "Output TFOM always as 'sync'"
 
#define DEFAULT_STR_TFOM_ALWAYS_SYNC_DE   "TFOM immer als 'sync' ausgeben"
 
#define DEFAULT_STR_TFOM_ALWAYS_SYNC
 
#define DEFAULT_STR_IRIG_NOT_CFGD_EN
 
#define DEFAULT_STR_IRIG_NOT_CFGD_DE
 
#define DEFAULT_STR_IRIG_NOT_CFGD
 
#define DEFAULT_STR_IRIG_INVT_EN
 
#define DEFAULT_STR_IRIG_INVT_DE
 
#define DEFAULT_STR_IRIG_INVT
 
#define DEFAULT_OPT_NAME_POUT
 
#define DEFAULT_OPT_NAME_SYNTH
 
#define DEFAULT_STR_SYNTH_FREQ
 
#define DEFAULT_STR_SYNTH_PHASE
 
#define DEFAULT_OPT_NAME_LAN_INTF_EN   "LAN Interface"
 
#define DEFAULT_OPT_NAME_LAN_INTF_DE   "Netzwerkschnittstelle"
 
#define DEFAULT_OPT_NAME_LAN_INTF
 
#define DEFAULT_OPT_NAME_PTP_CFG_EN   "PTP Configuration"
 
#define DEFAULT_OPT_NAME_PTP_CFG_DE   "PTP-Konfiguration"
 
#define DEFAULT_OPT_NAME_PTP_CFG
 
#define DEFAULT_OPT_NAME_PTP_UC_CFG_EN   "PTP Unicast Configuration"
 
#define DEFAULT_OPT_NAME_PTP_UC_CFG_DE   "PTP-Unicast-Konfiguration"
 
#define DEFAULT_OPT_NAME_PTP_UC_CFG
 
#define GER_MODE_NAME_STR_ON_REQ   "nur auf Anfrage '?'"
 
#define GER_MODE_NAME_STR_PER_SEC   "sek" LCUE "ndlich"
 
#define GER_MODE_NAME_STR_PER_MIN   "min" LCUE "tlich"
 
#define GER_MODE_NAME_STR_AUTO   "automatisch"
 
#define GER_MODE_NAME_STR_ON_REQ_SEC   "sek" LCUE "ndlich nach Anfrage"
 
#define DEFAULT_MODE_NAMES
 
#define GER_POUT_NAME_IDLE   "Nicht verwendet"
 
#define GER_POUT_NAME_TIMER   "Zeitschaltung"
 
#define GER_POUT_NAME_SINGLE_SHOT   "Einzelimpuls"
 
#define GER_POUT_NAME_CYCLIC_PULSE   "Zyklischer Impuls"
 
#define GER_POUT_NAME_PER_SEC   "Sek" LCUE "ndlicher Impuls"
 
#define GER_POUT_NAME_PER_MIN   "Min" LCUE "tlicher Impuls"
 
#define GER_POUT_NAME_PER_HOUR   "St" LCUE "ndlicher Impuls"
 
#define GER_POUT_NAME_DCF77   "DCF77-Zeitmarken"
 
#define GER_POUT_NAME_POS_OK   "Position OK"
 
#define GER_POUT_NAME_TIME_SYNC   "Zeit synchron"
 
#define GER_POUT_NAME_ALL_SYNC   "Alles synchron"
 
#define GER_POUT_NAME_TIMECODE   "DCLS-Zeitcode"
 
#define GER_POUT_NAME_TIMESTR   "Serielles Zeittelegramm"
 
#define GER_POUT_NAME_10MHZ   "Festfrequenz 10 MHz"
 
#define GER_POUT_NAME_DCF77_M59   "DCF77-Zeitmarken mit 59. Impuls"
 
#define GER_POUT_NAME_SYNTH   "Synthesizer-Frequenz"
 
#define GER_POUT_NAME_TIME_SLOTS   "Zeitschlitze pro Minute"
 
#define GER_POUT_NAME_GPIO   "GPIO-Signal"
 
#define GER_POUT_PTTI_PPS   "PTTI 1 PPS"
 
#define GER_POUT_HAVEQUICK   "HaveQuick"
 
#define DEFAULT_GER_POUT_NAMES
 
#define GER_POUT_HINT_IDLE   "Konstanter Ausgangspegel"
 
#define GER_POUT_HINT_TIMER   "Schalten zu den angegebenen Zeiten"
 
#define GER_POUT_HINT_SINGLE_SHOT   "Einzelner Impuls mit angegebener L" LCAE "nge"
 
#define GER_POUT_HINT_CYCLIC_PULSE   "Impulse wiederholt nach angegebenem Intervall"
 
#define GER_POUT_HINT_PER_SEC   "Impuls zu Beginn jeder Sekunde"
 
#define GER_POUT_HINT_PER_MIN   "Impuls zu Beginn jeder Minute"
 
#define GER_POUT_HINT_PER_HOUR   "Impuls zu Beginn jeder Stunde"
 
#define GER_POUT_HINT_DCF77   "DCF77-kompatible Zeitmarken"
 
#define GER_POUT_HINT_POS_OK   "Schalten, wenn Empf" LCAE "ngerposition " LCUE "berpr" LCUE "ft"
 
#define GER_POUT_HINT_TIME_SYNC   "Schalten, wenn Zeit synchron"
 
#define GER_POUT_HINT_ALL_SYNC   "Schalten, wenn Zeit synchron und Position " LCUE "berpr" LCUE "ft"
 
#define GER_POUT_HINT_TIMECODE   "Unmodulierter Zeitcode des IRIG-Ausgangs"
 
#define GER_POUT_HINT_TIMESTR   "Zeittelegramm der seriellen Schnittstelle der Karte duplizieren"
 
#define GER_POUT_HINT_10MHZ   "Feste Ausgangsfrequenz 10 MHz"
 
#define GER_POUT_HINT_DCF77_M59   "Zeitmarken wie DCF77, aber mit 500 ms Impuls in 59. Sekunde"
 
#define GER_POUT_HINT_SYNTH   "Durch programmierbaren Synthesizer erzeugte Frequenz"
 
#define GER_POUT_HINT_TIME_SLOTS   "Programmierbare Zeitslots, die in jeder Minute aktiviert werden"
 
#define GER_POUT_HINT_GPIO   "Signal des spezifizierten GPIO-Ein- oder Ausgangs"
 
#define GER_POUT_HINT_PTTI_PPS   "20 us-Impuls zum Sekundenbeginn"
 
#define GER_POUT_HINT_HAVEQUICK   "Dupliziertes HaveQuick-Signal"
 
#define DEFAULT_GER_POUT_HINTS
 
#define _pcps_snprint_vernum_dec(_s, _sz, _v)
 
#define _pcps_snprint_vernum_hex(_s, _sz, _v)
 
#define _pcps_snprint_vernum   _pcps_snprint_vernum_hex
 
#define _pcps_snprint_dev_id(_s, _sz, _n)   snprintf_safe( (_s), (_sz), "%04Xh", _n )
 
#define _pcps_snprint_wday(_s, _sz, _t, _l)   snprint_ctry_wday( (_s), (_sz), _wday_mon17_to_sun06( (_t)->wday ), (_l) )
 
#define _pcps_snprint_date(_s, _sz, _t, _yl)
 
#define _pcps_snprint_time(_s, _sz, _t)   snprint_ctry_tm( (_s), (_sz), (_t)->hour, (_t)->min, (_t)->sec )
 
#define _pcps_snprint_time_long(_s, _sz, _t)   snprint_ctry_tm_long( (_s), (_sz), (_t)->hour, (_t)->min, (_t)->sec, (_t)->sec100, 2 )
 
#define _cput_pcps_date(_t, _yl)
 
#define _cput_pcps_time(_t)
 
#define _cput_pcps_time_long(_t)
 
#define _cput_pcps_date_and_time(_t, _yl, _tz)
 

Enumerations

enum  PCPS_TZ_NAME_BITS { PCPS_TZ_NAME_BIT_FORCE_UTC_OFFS, PCPS_TZ_NAME_BIT_APP_DST, N_PCPS_TZ_NAME_FLAG }
 Flag bits used to define PCPS_TZ_NAME_FLAGS. More...
 
enum  PCPS_TZ_NAME_FLAGS { PCPS_TZ_NAME_FORCE_UTC_OFFS = ( 1UL << PCPS_TZ_NAME_BIT_FORCE_UTC_OFFS ), PCPS_TZ_NAME_APP_DST = ( 1UL << PCPS_TZ_NAME_BIT_APP_DST ) }
 Flag bits used to control the string generated by pcps_tz_name. More...
 

Functions

const char * inv_str (void)
 Return a language dependend string for "invalid". More...
 
const char * pcps_tz_name (const PCPS_TIME *t, ulong flags, int is_msf)
 Return a static time zone string depending on the UTC offset from a PCPS_TIME structure. More...
 
const char * pcps_tz_name_from_hr_time (const PCPS_HR_TIME *hrt, ushort flags, int is_msf)
 Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure. More...
 
const char * pcps_tz_name_hr_status (const PCPS_HR_TIME *t, ushort flags, int is_msf)
 Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure. More...
 
const char * pcps_tz_name_from_status (PCPS_TIME_STATUS_X status)
 Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure. More...
 
char * pcps_date_time_str (char *s, size_t max_len, const PCPS_TIME *t, int year_limit, const char *tz_str)
 
int pcps_str_tm_gps_date_time (char *s, size_t max_len, const TM_GPS *t)
 
char * pcps_date_time_wstr (char *ws, size_t count, const PCPS_TIME *t, ushort year_limit, const char *tz_str)
 
void pcps_status_strs (ushort status, int status_is_read, int is_gps, PCPS_STATUS_STRS *pstrs)
 
char * pcps_port_str (char *s, size_t max_len, const PCPS_DEV *pdev)
 
const char * pcps_tzcode_str (PCPS_TZCODE tzcode)
 
char * pcps_serial_str (char *s, size_t max_len, int i, const RECEIVER_PORT_CFG *p, const RECEIVER_INFO *p_ri, int short_strs)
 

Variables

CLSTR lstr_cet
 
CLSTR lstr_cest
 
CLSTR lstr_gmt
 
CLSTR lstr_bst
 
CLSTR tzcode_name [N_PCPS_TZCODE]
 
int pcps_wday_date_dist
 
int pcps_date_time_dist
 
int pcps_time_tz_dist
 
const char * mode_name [N_STR_MODE][N_LNG]
 
const char * short_mode_name [N_STR_MODE]
 

Macro Definition Documentation

◆ _cput_pcps_date

#define _cput_pcps_date (   _t,
  _yl 
)
Value:
{ \
char s[80]; \
_pcps_snprint_date( s, sizeof( s ), (_t), (_yl) ); \
cputs( s ); \
}

Definition at line 903 of file pcpslstr.h.

◆ _cput_pcps_date_and_time

#define _cput_pcps_date_and_time (   _t,
  _yl,
  _tz 
)
Value:
{ \
char s[80]; \
cputs( pcps_date_time_str( s, sizeof( s ), (_t), (_yl), (_tz) ) ); \
}
char * pcps_date_time_str(char *s, size_t max_len, const PCPS_TIME *t, int year_limit, const char *tz_str)
Definition: pcpslstr.c:344

Definition at line 924 of file pcpslstr.h.

◆ _cput_pcps_time

#define _cput_pcps_time (   _t)
Value:
{ \
char s[80]; \
_pcps_snprint_time( s, sizeof( s ), (_t) ); \
cputs( s ); \
}

Definition at line 910 of file pcpslstr.h.

◆ _cput_pcps_time_long

#define _cput_pcps_time_long (   _t)
Value:
{ \
char s[80]; \
_pcps_snprint_time_long( s, sizeof( s ), (_t) ); \
cputs( s ); \
}

Definition at line 917 of file pcpslstr.h.

◆ _ext

#define _ext   extern

Definition at line 136 of file pcpslstr.h.

◆ _pcps_snprint_date

#define _pcps_snprint_date (   _s,
  _sz,
  _t,
  _yl 
)
Value:
snprint_ctry_dt( (_s), (_sz), (_t)->mday, (_t)->month, \
pcps_exp_year( (_t)->year, (_yl) ) )
int snprint_ctry_dt(char *s, size_t max_len, int mday, int month, int year)
Definition: ctrydttm.c:131
static __mbg_inline int pcps_exp_year(int year, int year_lim)
Expand a 2-digit year number to a 4-digit year number.
Definition: pcpsutil.h:113

Definition at line 892 of file pcpslstr.h.

Referenced by pcps_date_time_str().

◆ _pcps_snprint_dev_id

#define _pcps_snprint_dev_id (   _s,
  _sz,
  _n 
)    snprintf_safe( (_s), (_sz), "%04Xh", _n )

Definition at line 885 of file pcpslstr.h.

◆ _pcps_snprint_time

#define _pcps_snprint_time (   _s,
  _sz,
  _t 
)    snprint_ctry_tm( (_s), (_sz), (_t)->hour, (_t)->min, (_t)->sec )

Definition at line 896 of file pcpslstr.h.

◆ _pcps_snprint_time_long

#define _pcps_snprint_time_long (   _s,
  _sz,
  _t 
)    snprint_ctry_tm_long( (_s), (_sz), (_t)->hour, (_t)->min, (_t)->sec, (_t)->sec100, 2 )

Definition at line 899 of file pcpslstr.h.

Referenced by pcps_date_time_str().

◆ _pcps_snprint_vernum

#define _pcps_snprint_vernum   _pcps_snprint_vernum_hex

Definition at line 881 of file pcpslstr.h.

◆ _pcps_snprint_vernum_dec

#define _pcps_snprint_vernum_dec (   _s,
  _sz,
  _v 
)
Value:
snprintf_safe( (_s), (_sz), "v%u.%02u", \
( (unsigned) (_v) ) / 100, \
( (unsigned) (_v) ) % 100 )
int snprintf_safe(char *s, size_t max_len, const char *fmt,...)
A portable, safe implementation of snprintf()
Definition: str_util.c:156

Definition at line 868 of file pcpslstr.h.

◆ _pcps_snprint_vernum_hex

#define _pcps_snprint_vernum_hex (   _s,
  _sz,
  _v 
)
Value:
snprintf_safe( (_s), (_sz), "v%X.%02X", \
( (unsigned) (_v) ) >> 8, \
( (unsigned) (_v) ) & 0xFF )
int snprintf_safe(char *s, size_t max_len, const char *fmt,...)
A portable, safe implementation of snprintf()
Definition: str_util.c:156

Definition at line 873 of file pcpslstr.h.

◆ _pcps_snprint_wday

#define _pcps_snprint_wday (   _s,
  _sz,
  _t,
  _l 
)    snprint_ctry_wday( (_s), (_sz), _wday_mon17_to_sun06( (_t)->wday ), (_l) )

Definition at line 889 of file pcpslstr.h.

Referenced by pcps_date_time_str().

◆ DEFAULT_GER_POUT_HINTS

#define DEFAULT_GER_POUT_HINTS
Value:
{ \
GER_POUT_HINT_IDLE, \
GER_POUT_HINT_TIMER, \
GER_POUT_HINT_SINGLE_SHOT, \
GER_POUT_HINT_CYCLIC_PULSE, \
GER_POUT_HINT_PER_SEC, \
GER_POUT_HINT_PER_MIN, \
GER_POUT_HINT_PER_HOUR, \
GER_POUT_HINT_DCF77, \
GER_POUT_HINT_POS_OK, \
GER_POUT_HINT_TIME_SYNC, \
GER_POUT_HINT_ALL_SYNC, \
GER_POUT_HINT_TIMECODE, \
GER_POUT_HINT_TIMESTR, \
GER_POUT_HINT_10MHZ, \
GER_POUT_HINT_DCF77_M59, \
GER_POUT_HINT_SYNTH, \
GER_POUT_HINT_TIME_SLOTS, \
GER_POUT_HINT_GPIO, \
GER_POUT_HINT_PTTI_PPS, \
GER_POUT_HINT_HAVEQUICK \
}

Definition at line 840 of file pcpslstr.h.

◆ DEFAULT_GER_POUT_NAMES

#define DEFAULT_GER_POUT_NAMES
Value:
{ \
GER_POUT_NAME_IDLE, \
GER_POUT_NAME_TIMER, \
GER_POUT_NAME_SINGLE_SHOT, \
GER_POUT_NAME_CYCLIC_PULSE, \
GER_POUT_NAME_PER_SEC, \
GER_POUT_NAME_PER_MIN, \
GER_POUT_NAME_PER_HOUR, \
GER_POUT_NAME_DCF77, \
GER_POUT_NAME_POS_OK, \
GER_POUT_NAME_TIME_SYNC, \
GER_POUT_NAME_ALL_SYNC, \
GER_POUT_NAME_TIMECODE, \
GER_POUT_NAME_TIMESTR, \
GER_POUT_NAME_10MHZ, \
GER_POUT_NAME_DCF77_M59, \
GER_POUT_NAME_SYNTH, \
GER_POUT_NAME_TIME_SLOTS, \
GER_POUT_NAME_GPIO, \
GER_POUT_PTTI_PPS, \
GER_POUT_HAVEQUICK \
}

Definition at line 791 of file pcpslstr.h.

◆ DEFAULT_IGNORE_RX_TFOM

#define DEFAULT_IGNORE_RX_TFOM
Value:
{ \
DEFAULT_IGNORE_RX_TFOM_EN, \
DEFAULT_IGNORE_RX_TFOM_DE \
}

Definition at line 621 of file pcpslstr.h.

◆ DEFAULT_IGNORE_RX_TFOM_DE

#define DEFAULT_IGNORE_RX_TFOM_DE   "Ignoriere TFOM"

Definition at line 619 of file pcpslstr.h.

◆ DEFAULT_IGNORE_RX_TFOM_EN

#define DEFAULT_IGNORE_RX_TFOM_EN   "Ignore TFOM"

Definition at line 618 of file pcpslstr.h.

Referenced by print_cfg_rx().

◆ DEFAULT_MODE_NAMES

#define DEFAULT_MODE_NAMES
Value:
{ \
}
#define GER_MODE_NAME_STR_PER_SEC
Definition: pcpslstr.h:751
#define ENG_MODE_NAME_STR_ON_REQ_SEC
Definition: gpsdefs.h:3815
#define ENG_MODE_NAME_STR_PER_MIN
Definition: gpsdefs.h:3813
#define GER_MODE_NAME_STR_ON_REQ_SEC
Definition: pcpslstr.h:754
#define GER_MODE_NAME_STR_AUTO
Definition: pcpslstr.h:753
#define ENG_MODE_NAME_STR_PER_SEC
Definition: gpsdefs.h:3812
#define ENG_MODE_NAME_STR_ON_REQ
Default initializers for English mode name strings.
Definition: gpsdefs.h:3811
#define GER_MODE_NAME_STR_PER_MIN
Definition: pcpslstr.h:752
#define GER_MODE_NAME_STR_ON_REQ
Definition: pcpslstr.h:750
#define ENG_MODE_NAME_STR_AUTO
Definition: gpsdefs.h:3814

Definition at line 756 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_CAB_LEN

#define DEFAULT_OPT_NAME_CAB_LEN
Value:
{ \
"Antenna Cable", \
"Antennenkabel" \
}

Definition at line 541 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_EF

#define DEFAULT_OPT_NAME_EF
Value:
{ \
"Enable Outputs", \
"Freischaltung der Ausg" LCAE "nge" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 532 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_RX

#define DEFAULT_OPT_NAME_IRIG_RX
Value:
{ \
DEFAULT_OPT_NAME_IRIG_RX_EN, \
DEFAULT_OPT_NAME_IRIG_RX_DE \
}

Definition at line 572 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_RX_DE

#define DEFAULT_OPT_NAME_IRIG_RX_DE   "IRIG-Eingang"

Definition at line 570 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_RX_EN

#define DEFAULT_OPT_NAME_IRIG_RX_EN   "IRIG Input"

Definition at line 569 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_TX

#define DEFAULT_OPT_NAME_IRIG_TX
Value:
{ \
DEFAULT_OPT_NAME_IRIG_TX_EN, \
DEFAULT_OPT_NAME_IRIG_TX_DE \
}

Definition at line 562 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_TX_DE

#define DEFAULT_OPT_NAME_IRIG_TX_DE   "IRIG-Ausgang"

Definition at line 560 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_IRIG_TX_EN

#define DEFAULT_OPT_NAME_IRIG_TX_EN   "IRIG Output"

Definition at line 559 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_LAN_INTF

#define DEFAULT_OPT_NAME_LAN_INTF
Value:
{ \
DEFAULT_OPT_NAME_LAN_INTF_EN, \
DEFAULT_OPT_NAME_LAN_INTF_DE \
}

Definition at line 712 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_LAN_INTF_DE

#define DEFAULT_OPT_NAME_LAN_INTF_DE   "Netzwerkschnittstelle"

Definition at line 710 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_LAN_INTF_EN

#define DEFAULT_OPT_NAME_LAN_INTF_EN   "LAN Interface"

Definition at line 709 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_POUT

#define DEFAULT_OPT_NAME_POUT
Value:
{ \
"Programmable Pulse Outputs", \
"Programmierbare Schaltausg" LCAE "nge" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 679 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_CFG

#define DEFAULT_OPT_NAME_PTP_CFG
Value:
{ \
DEFAULT_OPT_NAME_PTP_CFG_EN, \
DEFAULT_OPT_NAME_PTP_CFG_DE \
}

Definition at line 725 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_CFG_DE

#define DEFAULT_OPT_NAME_PTP_CFG_DE   "PTP-Konfiguration"

Definition at line 723 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_CFG_EN

#define DEFAULT_OPT_NAME_PTP_CFG_EN   "PTP Configuration"

Definition at line 722 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_UC_CFG

#define DEFAULT_OPT_NAME_PTP_UC_CFG
Value:
{ \
DEFAULT_OPT_NAME_PTP_UC_CFG_EN, \
DEFAULT_OPT_NAME_PTP_UC_CFG_DE \
}

Definition at line 738 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_UC_CFG_DE

#define DEFAULT_OPT_NAME_PTP_UC_CFG_DE   "PTP-Unicast-Konfiguration"

Definition at line 736 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_PTP_UC_CFG_EN

#define DEFAULT_OPT_NAME_PTP_UC_CFG_EN   "PTP Unicast Configuration"

Definition at line 735 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SERIAL

#define DEFAULT_OPT_NAME_SERIAL
Value:
{ \
"On-Board Serial Ports", \
"Serielle Schnittstellen der Karte" \
}

Definition at line 523 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SET_TIME

#define DEFAULT_OPT_NAME_SET_TIME
Value:
{ \
DEFAULT_OPT_NAME_SET_TIME_EN, \
DEFAULT_OPT_NAME_SET_TIME_DE \
}

Definition at line 392 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SET_TIME_DE

#define DEFAULT_OPT_NAME_SET_TIME_DE   "Datum/Zeit der Funkuhr"

Definition at line 389 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SET_TIME_EN

#define DEFAULT_OPT_NAME_SET_TIME_EN   "Radio Clock's Date/Time"

Definition at line 386 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SETUP

#define DEFAULT_OPT_NAME_SETUP
Value:
{ \
DEFAULT_OPT_NAME_SETUP_EN, \
DEFAULT_OPT_NAME_SETUP_DE \
}

Definition at line 377 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SETUP_DE

#define DEFAULT_OPT_NAME_SETUP_DE   "Einstellungen"

Definition at line 374 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SETUP_EN

#define DEFAULT_OPT_NAME_SETUP_EN   "Setup"

Definition at line 371 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_SYNTH

#define DEFAULT_OPT_NAME_SYNTH
Value:
{ \
"Frequency Synthesizer", \
"Frequenz-Synthesizer" \
}

Definition at line 688 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_TR_DISTANCE

#define DEFAULT_OPT_NAME_TR_DISTANCE
Value:
{ \
"Distance from Transmitter", \
"Senderentfernung" \
}

Definition at line 550 of file pcpslstr.h.

◆ DEFAULT_OPT_NAME_TZ

#define DEFAULT_OPT_NAME_TZ
Value:
{ \
"Radio Clock's Time Zone", \
"Zeitzone der Funkuhr" \
}

Definition at line 430 of file pcpslstr.h.

◆ DEFAULT_PCPS_DATE_TIME_DIST

#define DEFAULT_PCPS_DATE_TIME_DIST   2

Definition at line 152 of file pcpslstr.h.

◆ DEFAULT_PCPS_TIME_TZ_DIST

#define DEFAULT_PCPS_TIME_TZ_DIST   1

Definition at line 153 of file pcpslstr.h.

◆ DEFAULT_PCPS_WDAY_DATE_DIST

#define DEFAULT_PCPS_WDAY_DATE_DIST   1

Definition at line 151 of file pcpslstr.h.

◆ DEFAULT_STR_ANN_DST

#define DEFAULT_STR_ANN_DST
Value:
{ \
"Change in Daylight Saving Announced", \
"Zeitumschaltung angek" LCUE "ndigt" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 355 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_ANN_LS

#define DEFAULT_STR_ANN_LS
Value:
{ \
"Leap Second Announced", \
"Schaltsekunde angek" LCUE "ndigt" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 362 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_DCF_FREE_RUNNING

#define DEFAULT_STR_DCF_FREE_RUNNING
Value:
{ \
"Clock running on Xtal oscillator", \
"Funkuhr l" LCAE "uft frei auf Quarzbasis" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 313 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_DCF_HAS_NOT_SYNCD

#define DEFAULT_STR_DCF_HAS_NOT_SYNCD
Value:
{ \
"Not synchronized after last RESET", \
"Sync. nach RESET noch nicht erfolgt" \
}

Definition at line 306 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_DCF_HAS_SYNCD

#define DEFAULT_STR_DCF_HAS_SYNCD
Value:
{ \
"Synchronized after last RESET", \
"Sync. nach RESET ist erfolgt" \
}

Definition at line 299 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_DCF_NOT_FREE_RUNNING

#define DEFAULT_STR_DCF_NOT_FREE_RUNNING
Value:
{ \
"Clock is synchronized", \
"Senderf" LCUE "hrung" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 320 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_DELTA_TIME

#define DEFAULT_STR_DELTA_TIME
Value:
{ \
"Difference:", \
"Zeitdifferenz:" \
}

Definition at line 235 of file pcpslstr.h.

◆ DEFAULT_STR_GPS_NOT_SYNCD

#define DEFAULT_STR_GPS_NOT_SYNCD
Value:
{ \
"Time not synchronized", \
"Zeit ist nicht synchron" \
}

Definition at line 334 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_GPS_POS_NOT_OK

#define DEFAULT_STR_GPS_POS_NOT_OK
Value:
{ \
"Receiver pos. not verified", \
"Position nicht gepr" LCUE "ft" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 348 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_GPS_POS_OK

#define DEFAULT_STR_GPS_POS_OK
Value:
{ \
"Receiver position has been verified", \
"Positionbestimmung durchgef" LCUE "hrt" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 341 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_GPS_SYNCD

#define DEFAULT_STR_GPS_SYNCD
Value:
{ \
"Time is synchronized", \
"Zeitsynchronisation ist erfolgt" \
}

Definition at line 327 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_IRIG_FMT

#define DEFAULT_STR_IRIG_FMT
Value:
{ \
DEFAULT_STR_IRIG_FMT_EN, \
DEFAULT_STR_IRIG_FMT_DE \
}

Definition at line 582 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_FMT_DE

#define DEFAULT_STR_IRIG_FMT_DE   "IRIG Code-Format"

Definition at line 580 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_FMT_EN

#define DEFAULT_STR_IRIG_FMT_EN   "IRIG Code Format"

Definition at line 579 of file pcpslstr.h.

Referenced by print_cfg_rx(), and print_cfg_tx().

◆ DEFAULT_STR_IRIG_INVT

#define DEFAULT_STR_IRIG_INVT
Value:
{ \
DEFAULT_STR_IRIG_INVT_EN, \
DEFAULT_STR_IRIG_INVT_DE \
}

Definition at line 670 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_INVT_DE

#define DEFAULT_STR_IRIG_INVT_DE
Value:
"Wenn im Status des IRIG-Empf" LCAE "ngers \"" DEFAULT_STR_TIME_INVAL_DE "\"\n" \
"angezeigt wird, kann der Grund daf" LCUE "r sein, dass das Datum\n" \
"auf der Einsteckkarte nicht mit dem vom IRIG-Generator\n" \
"gesendeten Datum (bzw. dem Jahrestag) " LCUE "bereinstimmt." \
#define LCUE
Definition: charcode.h:194
#define LCAE
Definition: charcode.h:192
#define DEFAULT_STR_TIME_INVAL_DE
Definition: pcpslstr.h:281

Definition at line 664 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_INVT_EN

#define DEFAULT_STR_IRIG_INVT_EN
Value:
"Please note that the IRIG receiver status may read\n" \
"\"" DEFAULT_STR_TIME_INVAL_EN "\" if the receiver's on-board date\n" \
"does not correspond to the date (day-of-year number)\n" \
"transmitted by the IRIG source."
#define DEFAULT_STR_TIME_INVAL_EN
Definition: pcpslstr.h:278

Definition at line 658 of file pcpslstr.h.

Referenced by show_invt_reason().

◆ DEFAULT_STR_IRIG_NOT_CFGD

#define DEFAULT_STR_IRIG_NOT_CFGD
Value:
{ \
DEFAULT_STR_IRIG_NOT_CFGD_EN, \
DEFAULT_STR_IRIG_NOT_CFGD_DE \
}

Definition at line 651 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_NOT_CFGD_DE

#define DEFAULT_STR_IRIG_NOT_CFGD_DE
Value:
"Der IRIG-Empf" LCAE "nger wurde noch nicht konfiguriert!\n" \
"\n" \
"Das ausgew" LCAE "hlte " DEFAULT_STR_IRIG_FMT_DE " sowie der\n" \
DEFAULT_STR_IRIG_OFFS_DE " m" LCUE "ssen den Einstellungen\n" \
"des verwendeten IRIG-Generators entsprechen."
#define LCUE
Definition: charcode.h:194
#define LCAE
Definition: charcode.h:192
#define DEFAULT_STR_IRIG_FMT_DE
Definition: pcpslstr.h:580

Definition at line 644 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_NOT_CFGD_EN

#define DEFAULT_STR_IRIG_NOT_CFGD_EN
Value:
"The IRIG receiver has not yet been configured!\n" \
"\n" \
"Please make sure the correct " DEFAULT_STR_IRIG_FMT_EN " has been\n" \
"selected, and enter the correct " DEFAULT_STR_IRIG_OFFS_EN "\n" \
"according to the settings of the IRIG generator."
#define DEFAULT_STR_IRIG_OFFS_EN
Definition: pcpslstr.h:589
#define DEFAULT_STR_IRIG_FMT_EN
Definition: pcpslstr.h:579

Definition at line 637 of file pcpslstr.h.

Referenced by show_invt_reason().

◆ DEFAULT_STR_IRIG_OFFS

#define DEFAULT_STR_IRIG_OFFS
Value:
{ \
DEFAULT_STR_IRIG_OFFS_EN, \
DEFAULT_STR_IRIG_OFFS_DE \
}

Definition at line 592 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_OFFS_DE

#define DEFAULT_STR_IRIG_OFFS_DE   "IRIG-Zeitoffset zu UTC"

Definition at line 590 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_OFFS_EN

#define DEFAULT_STR_IRIG_OFFS_EN   "IRIG Time Offset from UTC"

Definition at line 589 of file pcpslstr.h.

Referenced by print_cfg_rx().

◆ DEFAULT_STR_IRIG_OUTPUT_LOC_TM

#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM
Value:
{ \
DEFAULT_STR_IRIG_OUTPUT_LOC_TM_EN, \
DEFAULT_STR_IRIG_OUTPUT_LOC_TM_DE \
}

Definition at line 612 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_OUTPUT_LOC_TM_DE

#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM_DE   "Ortszeit statt UTC aussenden"

Definition at line 610 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_OUTPUT_LOC_TM_EN

#define DEFAULT_STR_IRIG_OUTPUT_LOC_TM_EN   "Transmit local time instead of UTC"

Definition at line 609 of file pcpslstr.h.

Referenced by print_cfg_tx().

◆ DEFAULT_STR_IRIG_TIMESTR_UTC

#define DEFAULT_STR_IRIG_TIMESTR_UTC
Value:
{ \
DEFAULT_STR_IRIG_TIMESTR_UTC_EN, \
DEFAULT_STR_IRIG_TIMESTR_UTC_DE \
}

Definition at line 602 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_TIMESTR_UTC_DE

#define DEFAULT_STR_IRIG_TIMESTR_UTC_DE   "Seriell UTC ausgeben"

Definition at line 600 of file pcpslstr.h.

◆ DEFAULT_STR_IRIG_TIMESTR_UTC_EN

#define DEFAULT_STR_IRIG_TIMESTR_UTC_EN   "Send serial UTC"

Definition at line 599 of file pcpslstr.h.

Referenced by print_cfg_rx().

◆ DEFAULT_STR_LAST_CORR

#define DEFAULT_STR_LAST_CORR
Value:
{ \
"Last Correction:", \
"Letzte Korrektur:" \
}

Definition at line 241 of file pcpslstr.h.

◆ DEFAULT_STR_NEW_DATE

#define DEFAULT_STR_NEW_DATE
Value:
{ \
"New date", \
"Neues Datum" \
}

Definition at line 398 of file pcpslstr.h.

◆ DEFAULT_STR_NEW_TIME

#define DEFAULT_STR_NEW_TIME
Value:
{ \
"New time", \
"Neue Zeit" \
}

Definition at line 404 of file pcpslstr.h.

◆ DEFAULT_STR_REF_SRC_LABEL

#define DEFAULT_STR_REF_SRC_LABEL
Value:
{ \
"Time Source:", \
"Funkuhr ID:" \
}

Definition at line 262 of file pcpslstr.h.

◆ DEFAULT_STR_REF_SYNC_LABEL

#define DEFAULT_STR_REF_SYNC_LABEL
Value:
{ \
"Last Sync.:", \
"Letzte Sync.:" \
}

Definition at line 268 of file pcpslstr.h.

◆ DEFAULT_STR_REF_TIME

#define DEFAULT_STR_REF_TIME
Value:
{ \
"Reference Time:", \
"Referenzzeit:" \
}

Definition at line 229 of file pcpslstr.h.

◆ DEFAULT_STR_REF_TIME_INFO

#define DEFAULT_STR_REF_TIME_INFO
Value:
{ \
"Reference Time Info", \
"Referenzzeit" \
}

Definition at line 256 of file pcpslstr.h.

◆ DEFAULT_STR_SET_MANUALLY

#define DEFAULT_STR_SET_MANUALLY
Value:
{ \
"Time has been set manually", \
"Zeit wurde manuell gesetzt" \
}

Definition at line 291 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_SYNTH_FREQ

#define DEFAULT_STR_SYNTH_FREQ
Value:
{ \
"Frequency", \
"Frequenz" \
}

Definition at line 694 of file pcpslstr.h.

◆ DEFAULT_STR_SYNTH_PHASE

#define DEFAULT_STR_SYNTH_PHASE
Value:
{ \
"Phase", \
NULL \
}

Definition at line 700 of file pcpslstr.h.

◆ DEFAULT_STR_SYS_TIME

#define DEFAULT_STR_SYS_TIME
Value:
{ \
"System Time:", \
"Systemzeit:" \
}

Definition at line 223 of file pcpslstr.h.

◆ DEFAULT_STR_TFOM_ALWAYS_SYNC

#define DEFAULT_STR_TFOM_ALWAYS_SYNC
Value:
{ \
DEFAULT_STR_TFOM_ALWAYS_SYNC_EN, \
DEFAULT_STR_TFOM_ALWAYS_SYNC_DE \
}

Definition at line 630 of file pcpslstr.h.

◆ DEFAULT_STR_TFOM_ALWAYS_SYNC_DE

#define DEFAULT_STR_TFOM_ALWAYS_SYNC_DE   "TFOM immer als 'sync' ausgeben"

Definition at line 628 of file pcpslstr.h.

◆ DEFAULT_STR_TFOM_ALWAYS_SYNC_EN

#define DEFAULT_STR_TFOM_ALWAYS_SYNC_EN   "Output TFOM always as 'sync'"

Definition at line 627 of file pcpslstr.h.

Referenced by print_cfg_tx().

◆ DEFAULT_STR_TIME_ADJ_STATUS

#define DEFAULT_STR_TIME_ADJ_STATUS
Value:
{ \
"Time Adjustment Status", \
"Status der Zeitkontrolle" \
}

Definition at line 217 of file pcpslstr.h.

◆ DEFAULT_STR_TIME_INVAL

#define DEFAULT_STR_TIME_INVAL
Value:
{ \
DEFAULT_STR_TIME_INVAL_EN, \
DEFAULT_STR_TIME_INVAL_DE \
}

Definition at line 284 of file pcpslstr.h.

Referenced by pcps_status_strs().

◆ DEFAULT_STR_TIME_INVAL_DE

#define DEFAULT_STR_TIME_INVAL_DE   "Referenzzeit nicht g" LCUE "ltig"

Definition at line 281 of file pcpslstr.h.

◆ DEFAULT_STR_TIME_INVAL_EN

#define DEFAULT_STR_TIME_INVAL_EN   "Ref. Time is Invalid"

Definition at line 278 of file pcpslstr.h.

◆ DEFAULT_STR_WAIT_SYNC

#define DEFAULT_STR_WAIT_SYNC
Value:
{ \
"Waiting for Sync After Reset ...", \
"Warte auf Sync. nach Reset ..." \
}

Definition at line 247 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINT_CET

#define DEFAULT_TZCODE_HINT_CET
Value:
{ \
"always CET (UTC+1h), daylight saving suppressed", \
"immer MEZ (UTC+1h), Sommerzeit wird unterdr" LCUE "ckt" \
}
#define LCUE
Definition: charcode.h:194

Definition at line 471 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINT_CET_CEST

#define DEFAULT_TZCODE_HINT_CET_CEST
Value:
{ \
"Central European Time or Summer Time, as broadcast by DCF77", \
"Mitteleurop" LCAE "ische Zeit oder Sommerzeit, wie von DCF77 gesendet" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 445 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINT_EET_EEST

#define DEFAULT_TZCODE_HINT_EET_EEST
Value:
{ \
"East European Time, CET/CEST + 1h", \
"Osteurop" LCAE "ische Zeit, MEZ/MESZ + 1h" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 497 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINT_GMT_BST

#define DEFAULT_TZCODE_HINT_GMT_BST
Value:
{ \
"Greenwich Mean Time or British Summer Time, as broadcast by MSF", \
"Westeurop" LCAE "ische Zeit oder britische Sommerzeit, wie von MSF gesendet" \
}
#define LCAE
Definition: charcode.h:192

Definition at line 457 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINT_UTC

#define DEFAULT_TZCODE_HINT_UTC
Value:
{ \
"always UTC", \
"immer UTC" \
}

Definition at line 484 of file pcpslstr.h.

◆ DEFAULT_TZCODE_HINTS

#define DEFAULT_TZCODE_HINTS
Value:
{ \
DEFAULT_TZCODE_HINT_CET_CEST, \
DEFAULT_TZCODE_HINT_CET, \
DEFAULT_TZCODE_HINT_UTC, \
DEFAULT_TZCODE_HINT_EET_EEST \
}

Definition at line 512 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAME_CET

#define DEFAULT_TZCODE_NAME_CET
Value:
{ \
"always " TZ_NAME_CET, \
"immer " TZ_NAME_MEZ \
}
#define TZ_NAME_MEZ
Definition: pcpslstr.h:415
#define TZ_NAME_CET
Definition: pcpslstr.h:417

Definition at line 465 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAME_CET_CEST

#define DEFAULT_TZCODE_NAME_CET_CEST
Value:
{ \
TZ_NAME_CET "/" TZ_NAME_CEST, \
TZ_NAME_MEZ "/" TZ_NAME_MESZ \
}
#define TZ_NAME_CEST
Definition: pcpslstr.h:418
#define TZ_NAME_MESZ
Definition: pcpslstr.h:416

Definition at line 439 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAME_EET_EEST

#define DEFAULT_TZCODE_NAME_EET_EEST
Value:
{ \
TZ_NAME_EET "/" TZ_NAME_EEST, \
TZ_NAME_OEZ "/" TZ_NAME_OESZ \
}
#define TZ_NAME_EEST
Definition: pcpslstr.h:423
#define TZ_NAME_OESZ
Definition: pcpslstr.h:421

Definition at line 491 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAME_GMT_BST

#define DEFAULT_TZCODE_NAME_GMT_BST
Value:
{ \
TZ_NAME_GMT "/" TZ_NAME_BST, \
TZ_NAME_WEZ "/" TZ_NAME_WESZ \
}
#define TZ_NAME_WESZ
Definition: pcpslstr.h:426
#define TZ_NAME_BST
Definition: pcpslstr.h:428

Definition at line 451 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAME_UTC

#define DEFAULT_TZCODE_NAME_UTC
Value:
{ \
TZ_NAME_UTC, \
TZ_NAME_UTC \
}

Definition at line 478 of file pcpslstr.h.

◆ DEFAULT_TZCODE_NAMES

#define DEFAULT_TZCODE_NAMES
Value:
{ \
DEFAULT_TZCODE_NAME_CET_CEST, \
DEFAULT_TZCODE_NAME_CET, \
DEFAULT_TZCODE_NAME_UTC, \
DEFAULT_TZCODE_NAME_EET_EEST \
}

Definition at line 504 of file pcpslstr.h.

◆ GER_MODE_NAME_STR_AUTO

#define GER_MODE_NAME_STR_AUTO   "automatisch"

Definition at line 753 of file pcpslstr.h.

◆ GER_MODE_NAME_STR_ON_REQ

#define GER_MODE_NAME_STR_ON_REQ   "nur auf Anfrage '?'"

Definition at line 750 of file pcpslstr.h.

◆ GER_MODE_NAME_STR_ON_REQ_SEC

#define GER_MODE_NAME_STR_ON_REQ_SEC   "sek" LCUE "ndlich nach Anfrage"

Definition at line 754 of file pcpslstr.h.

◆ GER_MODE_NAME_STR_PER_MIN

#define GER_MODE_NAME_STR_PER_MIN   "min" LCUE "tlich"

Definition at line 752 of file pcpslstr.h.

◆ GER_MODE_NAME_STR_PER_SEC

#define GER_MODE_NAME_STR_PER_SEC   "sek" LCUE "ndlich"

Definition at line 751 of file pcpslstr.h.

◆ GER_POUT_HAVEQUICK

#define GER_POUT_HAVEQUICK   "HaveQuick"

Definition at line 789 of file pcpslstr.h.

◆ GER_POUT_HINT_10MHZ

#define GER_POUT_HINT_10MHZ   "Feste Ausgangsfrequenz 10 MHz"

Definition at line 832 of file pcpslstr.h.

◆ GER_POUT_HINT_ALL_SYNC

#define GER_POUT_HINT_ALL_SYNC   "Schalten, wenn Zeit synchron und Position " LCUE "berpr" LCUE "ft"

Definition at line 829 of file pcpslstr.h.

◆ GER_POUT_HINT_CYCLIC_PULSE

#define GER_POUT_HINT_CYCLIC_PULSE   "Impulse wiederholt nach angegebenem Intervall"

Definition at line 822 of file pcpslstr.h.

◆ GER_POUT_HINT_DCF77

#define GER_POUT_HINT_DCF77   "DCF77-kompatible Zeitmarken"

Definition at line 826 of file pcpslstr.h.

◆ GER_POUT_HINT_DCF77_M59

#define GER_POUT_HINT_DCF77_M59   "Zeitmarken wie DCF77, aber mit 500 ms Impuls in 59. Sekunde"

Definition at line 833 of file pcpslstr.h.

◆ GER_POUT_HINT_GPIO

#define GER_POUT_HINT_GPIO   "Signal des spezifizierten GPIO-Ein- oder Ausgangs"

Definition at line 836 of file pcpslstr.h.

◆ GER_POUT_HINT_HAVEQUICK

#define GER_POUT_HINT_HAVEQUICK   "Dupliziertes HaveQuick-Signal"

Definition at line 838 of file pcpslstr.h.

◆ GER_POUT_HINT_IDLE

#define GER_POUT_HINT_IDLE   "Konstanter Ausgangspegel"

Definition at line 819 of file pcpslstr.h.

◆ GER_POUT_HINT_PER_HOUR

#define GER_POUT_HINT_PER_HOUR   "Impuls zu Beginn jeder Stunde"

Definition at line 825 of file pcpslstr.h.

◆ GER_POUT_HINT_PER_MIN

#define GER_POUT_HINT_PER_MIN   "Impuls zu Beginn jeder Minute"

Definition at line 824 of file pcpslstr.h.

◆ GER_POUT_HINT_PER_SEC

#define GER_POUT_HINT_PER_SEC   "Impuls zu Beginn jeder Sekunde"

Definition at line 823 of file pcpslstr.h.

◆ GER_POUT_HINT_POS_OK

#define GER_POUT_HINT_POS_OK   "Schalten, wenn Empf" LCAE "ngerposition " LCUE "berpr" LCUE "ft"

Definition at line 827 of file pcpslstr.h.

◆ GER_POUT_HINT_PTTI_PPS

#define GER_POUT_HINT_PTTI_PPS   "20 us-Impuls zum Sekundenbeginn"

Definition at line 837 of file pcpslstr.h.

◆ GER_POUT_HINT_SINGLE_SHOT

#define GER_POUT_HINT_SINGLE_SHOT   "Einzelner Impuls mit angegebener L" LCAE "nge"

Definition at line 821 of file pcpslstr.h.

◆ GER_POUT_HINT_SYNTH

#define GER_POUT_HINT_SYNTH   "Durch programmierbaren Synthesizer erzeugte Frequenz"

Definition at line 834 of file pcpslstr.h.

◆ GER_POUT_HINT_TIME_SLOTS

#define GER_POUT_HINT_TIME_SLOTS   "Programmierbare Zeitslots, die in jeder Minute aktiviert werden"

Definition at line 835 of file pcpslstr.h.

◆ GER_POUT_HINT_TIME_SYNC

#define GER_POUT_HINT_TIME_SYNC   "Schalten, wenn Zeit synchron"

Definition at line 828 of file pcpslstr.h.

◆ GER_POUT_HINT_TIMECODE

#define GER_POUT_HINT_TIMECODE   "Unmodulierter Zeitcode des IRIG-Ausgangs"

Definition at line 830 of file pcpslstr.h.

◆ GER_POUT_HINT_TIMER

#define GER_POUT_HINT_TIMER   "Schalten zu den angegebenen Zeiten"

Definition at line 820 of file pcpslstr.h.

◆ GER_POUT_HINT_TIMESTR

#define GER_POUT_HINT_TIMESTR   "Zeittelegramm der seriellen Schnittstelle der Karte duplizieren"

Definition at line 831 of file pcpslstr.h.

◆ GER_POUT_NAME_10MHZ

#define GER_POUT_NAME_10MHZ   "Festfrequenz 10 MHz"

Definition at line 783 of file pcpslstr.h.

◆ GER_POUT_NAME_ALL_SYNC

#define GER_POUT_NAME_ALL_SYNC   "Alles synchron"

Definition at line 780 of file pcpslstr.h.

◆ GER_POUT_NAME_CYCLIC_PULSE

#define GER_POUT_NAME_CYCLIC_PULSE   "Zyklischer Impuls"

Definition at line 773 of file pcpslstr.h.

◆ GER_POUT_NAME_DCF77

#define GER_POUT_NAME_DCF77   "DCF77-Zeitmarken"

Definition at line 777 of file pcpslstr.h.

◆ GER_POUT_NAME_DCF77_M59

#define GER_POUT_NAME_DCF77_M59   "DCF77-Zeitmarken mit 59. Impuls"

Definition at line 784 of file pcpslstr.h.

◆ GER_POUT_NAME_GPIO

#define GER_POUT_NAME_GPIO   "GPIO-Signal"

Definition at line 787 of file pcpslstr.h.

◆ GER_POUT_NAME_IDLE

#define GER_POUT_NAME_IDLE   "Nicht verwendet"

Definition at line 770 of file pcpslstr.h.

◆ GER_POUT_NAME_PER_HOUR

#define GER_POUT_NAME_PER_HOUR   "St" LCUE "ndlicher Impuls"

Definition at line 776 of file pcpslstr.h.

◆ GER_POUT_NAME_PER_MIN

#define GER_POUT_NAME_PER_MIN   "Min" LCUE "tlicher Impuls"

Definition at line 775 of file pcpslstr.h.

◆ GER_POUT_NAME_PER_SEC

#define GER_POUT_NAME_PER_SEC   "Sek" LCUE "ndlicher Impuls"

Definition at line 774 of file pcpslstr.h.

◆ GER_POUT_NAME_POS_OK

#define GER_POUT_NAME_POS_OK   "Position OK"

Definition at line 778 of file pcpslstr.h.

◆ GER_POUT_NAME_SINGLE_SHOT

#define GER_POUT_NAME_SINGLE_SHOT   "Einzelimpuls"

Definition at line 772 of file pcpslstr.h.

◆ GER_POUT_NAME_SYNTH

#define GER_POUT_NAME_SYNTH   "Synthesizer-Frequenz"

Definition at line 785 of file pcpslstr.h.

◆ GER_POUT_NAME_TIME_SLOTS

#define GER_POUT_NAME_TIME_SLOTS   "Zeitschlitze pro Minute"

Definition at line 786 of file pcpslstr.h.

◆ GER_POUT_NAME_TIME_SYNC

#define GER_POUT_NAME_TIME_SYNC   "Zeit synchron"

Definition at line 779 of file pcpslstr.h.

◆ GER_POUT_NAME_TIMECODE

#define GER_POUT_NAME_TIMECODE   "DCLS-Zeitcode"

Definition at line 781 of file pcpslstr.h.

◆ GER_POUT_NAME_TIMER

#define GER_POUT_NAME_TIMER   "Zeitschaltung"

Definition at line 771 of file pcpslstr.h.

◆ GER_POUT_NAME_TIMESTR

#define GER_POUT_NAME_TIMESTR   "Serielles Zeittelegramm"

Definition at line 782 of file pcpslstr.h.

◆ GER_POUT_PTTI_PPS

#define GER_POUT_PTTI_PPS   "PTTI 1 PPS"

Definition at line 788 of file pcpslstr.h.

◆ N_PCPS_STATUS_STR

#define N_PCPS_STATUS_STR   3

Definition at line 197 of file pcpslstr.h.

Referenced by show_time_and_status().

◆ TZ_NAME_BST

#define TZ_NAME_BST   "BST"

Definition at line 428 of file pcpslstr.h.

◆ TZ_NAME_CEST

#define TZ_NAME_CEST   "CEST"

Definition at line 418 of file pcpslstr.h.

◆ TZ_NAME_CET

#define TZ_NAME_CET   "CET"

Definition at line 417 of file pcpslstr.h.

◆ TZ_NAME_EEST

#define TZ_NAME_EEST   "EEST"

Definition at line 423 of file pcpslstr.h.

◆ TZ_NAME_EET

#define TZ_NAME_EET   "EET"

Definition at line 422 of file pcpslstr.h.

◆ TZ_NAME_GMT

#define TZ_NAME_GMT   "GMT"

Definition at line 427 of file pcpslstr.h.

◆ TZ_NAME_MESZ

#define TZ_NAME_MESZ   "MESZ"

Definition at line 416 of file pcpslstr.h.

◆ TZ_NAME_MEZ

#define TZ_NAME_MEZ   "MEZ"

Definition at line 415 of file pcpslstr.h.

◆ TZ_NAME_OESZ

#define TZ_NAME_OESZ   "OESZ"

Definition at line 421 of file pcpslstr.h.

◆ TZ_NAME_OEZ

#define TZ_NAME_OEZ   "OEZ"

Definition at line 420 of file pcpslstr.h.

◆ TZ_NAME_UTC

#define TZ_NAME_UTC   "UTC"

Definition at line 413 of file pcpslstr.h.

◆ TZ_NAME_WESZ

#define TZ_NAME_WESZ   "WESZ"

Definition at line 426 of file pcpslstr.h.

◆ TZ_NAME_WEZ

#define TZ_NAME_WEZ   "WEZ"

Definition at line 425 of file pcpslstr.h.

Enumeration Type Documentation

◆ PCPS_TZ_NAME_BITS

Flag bits used to define PCPS_TZ_NAME_FLAGS.

See also
PCPS_TZ_NAME_FLAGS
Enumerator
PCPS_TZ_NAME_BIT_FORCE_UTC_OFFS 

always print "UTC+offs"

PCPS_TZ_NAME_BIT_APP_DST 

append DST status

N_PCPS_TZ_NAME_FLAG 

Definition at line 170 of file pcpslstr.h.

◆ PCPS_TZ_NAME_FLAGS

Flag bits used to control the string generated by pcps_tz_name.

The flags defined below can be passed to pcps_tz_name to control the formatting of the generated time zone names

See also
pcps_tz_name
PCPS_TZ_NAME_BITS
Enumerator
PCPS_TZ_NAME_FORCE_UTC_OFFS 

see PCPS_TZ_NAME_FORCE_UTC_OFFS

PCPS_TZ_NAME_APP_DST 

see PCPS_TZ_NAME_APP_DST

Definition at line 187 of file pcpslstr.h.

Function Documentation

◆ inv_str()

const char* inv_str ( void  )

Return a language dependend string for "invalid".

Returns
A language dependend string for "invalid"

Definition at line 131 of file pcpslstr.c.

References _lstr, and LCUE.

Referenced by pcps_tzcode_str().

◆ pcps_date_time_str()

char* pcps_date_time_str ( char *  s,
size_t  max_len,
const PCPS_TIME t,
int  year_limit,
const char *  tz_str 
)

◆ pcps_date_time_wstr()

char* pcps_date_time_wstr ( char *  ws,
size_t  count,
const PCPS_TIME t,
ushort  year_limit,
const char *  tz_str 
)

◆ pcps_port_str()

char* pcps_port_str ( char *  s,
size_t  max_len,
const PCPS_DEV pdev 
)

Definition at line 522 of file pcpslstr.c.

References _pcps_short_port_base, and snprintf_safe().

◆ pcps_serial_str()

char* pcps_serial_str ( char *  s,
size_t  max_len,
int  i,
const RECEIVER_PORT_CFG p,
const RECEIVER_INFO p_ri,
int  short_strs 
)

◆ pcps_status_strs()

◆ pcps_str_tm_gps_date_time()

◆ pcps_tz_name()

const char* pcps_tz_name ( const PCPS_TIME t,
ulong  flags,
int  is_msf 
)

Return a static time zone string depending on the UTC offset from a PCPS_TIME structure.

Parameters
[in]tA PCPS_TIME structure read from a clock device
[in]flagsA combination of PCPS_TZ_NAME_FLAGS contolling the output string format
[in]is_msfA Flag used to indicate if the clock is an MSF receiver
Returns
Pointer to a static string which has been set up
See also
pcps_tz_name_from_hr_time
pcps_tz_name_hr_status
pcps_tz_name_from_status
get_tz_name
PCPS_TZ_NAME_FLAGS

Definition at line 245 of file pcpslstr.c.

References get_tz_name(), PCPS_TIME::offs_utc, SECS_PER_HOUR, and PCPS_TIME::status.

Referenced by print_pcps_time().

◆ pcps_tz_name_from_hr_time()

const char* pcps_tz_name_from_hr_time ( const PCPS_HR_TIME hrt,
ushort  flags,
int  is_msf 
)

Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure.

Parameters
[in]hrtA PCPS_HR_TIME structure read from a clock device
[in]flagsA combination of PCPS_TZ_NAME_FLAGS contolling the output string format
[in]is_msfA Flag used to indicate if the clock is an MSF receiver
Returns
Pointer to a static string which has been set up
See also
pcps_tz_name
pcps_tz_name_hr_status
pcps_tz_name_from_status
get_tz_name
PCPS_TZ_NAME_FLAGS

Definition at line 269 of file pcpslstr.c.

References get_tz_name(), PCPS_HR_TIME::status, and PCPS_HR_TIME::utc_offs.

Referenced by pcps_tz_name_hr_status().

◆ pcps_tz_name_from_status()

const char* pcps_tz_name_from_status ( PCPS_TIME_STATUS_X  status)

Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure.

This function can be used to build a name for the time zone if only the UTC/DST status is known, but the UTC offset is not. This is the case, for example, if the Meinberg standard time string is decoded.

Parameters
[in]statusClock status in PCPS_TIME_STATUS_X format
Returns
Pointer to a static string which has been set up
See also
pcps_tz_name
pcps_tz_name_from_hr_time
pcps_tz_name_hr_status
get_tz_name
PCPS_TZ_NAME_FLAGS

Definition at line 332 of file pcpslstr.c.

References _lstr, PCPS_DL_ENB, PCPS_UTC, str_dst, and tz_name_utc.

◆ pcps_tz_name_hr_status()

const char* pcps_tz_name_hr_status ( const PCPS_HR_TIME t,
ushort  flags,
int  is_msf 
)

Return a static time zone string depending on the UTC offset from a PCPS_HR_TIME structure.

This function can be used to build a name for the time zone if the timescale, the UTC/DST status and the UTC offset are known, e.g. from plug-in clock devices.

Parameters
[in]tA PCPS_HR_TIME structure read from a clock device
[in]flagsA combination of PCPS_TZ_NAME_FLAGS contolling the output string format
[in]is_msfA Flag used to indicate if the clock is an MSF receiver
Returns
Pointer to a static string which has been set up
See also
pcps_tz_name
pcps_tz_name_from_hr_time
pcps_tz_name_from_status
get_tz_name
PCPS_TZ_NAME_FLAGS

Definition at line 296 of file pcpslstr.c.

References PCPS_SCALE_GPS, PCPS_SCALE_TAI, pcps_tz_name_from_hr_time(), PCPS_HR_TIME::status, and strncpy_safe().

◆ pcps_tzcode_str()

const char* pcps_tzcode_str ( PCPS_TZCODE  tzcode)

Definition at line 540 of file pcpslstr.c.

References inv_str(), language, N_LNG, N_PCPS_TZCODE, and tzcode_name.

Variable Documentation

◆ lstr_bst

CLSTR lstr_bst

Referenced by get_tz_name().

◆ lstr_cest

CLSTR lstr_cest

Referenced by get_tz_name().

◆ lstr_cet

CLSTR lstr_cet

Referenced by get_tz_name().

◆ lstr_gmt

CLSTR lstr_gmt

Referenced by get_tz_name().

◆ mode_name

const char* mode_name[N_STR_MODE][N_LNG]

Referenced by pcps_serial_str().

◆ pcps_date_time_dist

int pcps_date_time_dist

Referenced by main(), and pcps_date_time_str().

◆ pcps_time_tz_dist

int pcps_time_tz_dist

Referenced by get_tz_name(), and pcps_date_time_str().

◆ pcps_wday_date_dist

int pcps_wday_date_dist

◆ short_mode_name

const char* short_mode_name[N_STR_MODE]

Referenced by pcps_serial_str().

◆ tzcode_name

CLSTR tzcode_name[N_PCPS_TZCODE]

Referenced by pcps_tzcode_str().