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
msg! (
    id: msg1010_sat,
    type_name: Msg1010Sat,
    fields: [
        (glo_satellite_id, df_u6),
        (glo_l1_code_ind, df_flag),
        (glo_satellite_freq_chan_number, df040),
        (l1_pseudorange_m, df041),
        (l1_phase_pseudorange_diff_m, df012_18_42_48),
        (l1_lock_time_index, df_u7),
        (l1_pseudorange_amb_m, df044),
        (l1_cnr_dbhz, df015_20_45_50)
    ],
);

frag_vec!(
    id: msg1010_sat_vec,
    frag_id: msg1010_sat,
    cap_name: SAT_CAP_LEGACY,
);

msg_len_middle!(
    id: msg1010,
    type_name: Msg1010T,
    fields1: [
        (reference_station_id, df003),
        (glo_epoch_time_ms, df_u27),
        (synchronous_gnss_msg_flag, df005)
    ],
    len_field: df_leg_sat_len,
    fields2: [
        (divergence_free_smoothing_flag, df_flag),
        (smoothing_interval_index, df_u3)
    ],
    vec_field: satellites, msg1010_sat_vec,
);