libsbp  v2.4.7
acquisition.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Swift Navigation Inc.
3  * Contact: Swift Navigation <dev@swiftnav.com>
4  *
5  * This source is subject to the license found in the file 'LICENSE' which must
6  * be be distributed together with this source. All other rights reserved.
7  *
8  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11  */
12 
13 /*****************************************************************************
14  * Automatically generated from yaml/swiftnav/sbp/acquisition.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_ACQUISITION_MESSAGES_H
24 #define LIBSBP_ACQUISITION_MESSAGES_H
25 
26 #include "common.h"
27 #include "gnss.h"
28 
29 SBP_PACK_START
30 
31 
40 #define SBP_MSG_ACQ_RESULT 0x002F
41 typedef struct SBP_ATTR_PACKED {
42  float cn0;
43  float cp;
44  float cf;
47 
48 
53 #define SBP_MSG_ACQ_RESULT_DEP_C 0x001F
54 typedef struct SBP_ATTR_PACKED {
55  float cn0;
56  float cp;
57  float cf;
60 
61 
66 #define SBP_MSG_ACQ_RESULT_DEP_B 0x0014
67 typedef struct SBP_ATTR_PACKED {
68  float snr;
71  float cp;
72  float cf;
75 
76 
81 #define SBP_MSG_ACQ_RESULT_DEP_A 0x0015
82 typedef struct SBP_ATTR_PACKED {
83  float snr;
86  float cp;
87  float cf;
88  u8 prn;
92 
93 
100 typedef struct SBP_ATTR_PACKED {
111  s32 cf;
112  u32 cp;
114 
115 
120 typedef struct SBP_ATTR_PACKED {
131  s32 cf;
132  u32 cp;
134 
135 
141 #define SBP_MSG_ACQ_SV_PROFILE 0x002E
142 typedef struct SBP_ATTR_PACKED {
143  acq_sv_profile_t acq_sv_profile[0];
145 
146 
151 #define SBP_MSG_ACQ_SV_PROFILE_DEP 0x001E
152 typedef struct SBP_ATTR_PACKED {
153  acq_sv_profile_dep_t acq_sv_profile[0];
155 
156 
159 SBP_PACK_END
160 
161 #endif /* LIBSBP_ACQUISITION_MESSAGES_H */
s32 cf_min
Doppler range lowest frequency [Hz].
Definition: acquisition.h:129
float cp
Code phase of best point [chips].
Definition: acquisition.h:71
float cp
Code phase of best point [chips].
Definition: acquisition.h:86
u8 status
Acquisition status 1 is Success, 0 is Failure.
Definition: acquisition.h:122
u8 prn
PRN-1 identifier of the satellite signal for which acquisition was attempted.
Definition: acquisition.h:88
s32 cf
Doppler value of detected peak.
Definition: acquisition.h:131
float cf
Carrier frequency of best point [hz].
Definition: acquisition.h:72
float cf
Carrier frequency of best point [hz].
Definition: acquisition.h:87
s32 cf
Doppler value of detected peak.
Definition: acquisition.h:111
u8 job_type
SV search job type (deep, fallback, etc)
Definition: acquisition.h:121
Represents all the relevant information about the signal.
Definition: gnss.h:35
float cn0
CN/0 of best point [dB Hz].
Definition: acquisition.h:55
float snr
SNR of best point.
Definition: acquisition.h:68
Deprecated.
Definition: gnss.h:48
Acq perfomance measurement and debug.
Definition: acquisition.h:100
u8 int_time
Acquisition integration time [ms].
Definition: acquisition.h:104
sbp_gnss_signal_t sid
GNSS signal for which acquisition was attempted.
Definition: acquisition.h:105
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
gnss_signal_dep_t sid
GNSS signal for which acquisition was attempted.
Definition: acquisition.h:73
u32 timestamp
Timestamp of the job complete event [ms].
Definition: acquisition.h:127
u32 time_spent
Time spent to search for sid.code [us].
Definition: acquisition.h:128
float cp
Code phase of best point [chips].
Definition: acquisition.h:43
u16 bin_width
Acq frequency bin width [Hz].
Definition: acquisition.h:126
sbp_gnss_signal_t sid
GNSS signal for which acquisition was attempted.
Definition: acquisition.h:45
s32 cf_max
Doppler range highest frequency [Hz].
Definition: acquisition.h:110
float cn0
CN/0 of best point [dB Hz].
Definition: acquisition.h:42
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
s32 cf_min
Doppler range lowest frequency [Hz].
Definition: acquisition.h:109
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u32 cp
Codephase of detected peak.
Definition: acquisition.h:112
u8 job_type
SV search job type (deep, fallback, etc)
Definition: acquisition.h:101
u16 cn0
CN0 value.
Definition: acquisition.h:123
u8 status
Acquisition status 1 is Success, 0 is Failure.
Definition: acquisition.h:102
u16 bin_width
Acq frequency bin width [Hz].
Definition: acquisition.h:106
s32 cf_max
Doppler range highest frequency [Hz].
Definition: acquisition.h:130
u32 cp
Codephase of detected peak.
Definition: acquisition.h:132
gnss_signal_dep_t sid
GNSS signal for which acquisition was attempted.
Definition: acquisition.h:125
float cp
Code phase of best point [chips].
Definition: acquisition.h:56
u8 int_time
Acquisition integration time [ms].
Definition: acquisition.h:124
gnss_signal_dep_t sid
GNSS signal for which acquisition was attempted.
Definition: acquisition.h:58
u32 time_spent
Time spent to search for sid.code [us].
Definition: acquisition.h:108
float cf
Carrier frequency of best point [hz].
Definition: acquisition.h:57
int32_t s32
Signed 32-bit integer.
Definition: common.h:36
float cf
Carrier frequency of best point [hz].
Definition: acquisition.h:44
u32 timestamp
Timestamp of the job complete event [ms].
Definition: acquisition.h:107
float snr
SNR of best point.
Definition: acquisition.h:83
u16 cn0
CN0 value.
Definition: acquisition.h:103