sbp_messages_template.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2013 Swift Navigation Inc.
00003  * Contact: Fergus Noble <fergus@swift-nav.com>
00004  *
00005  * This source is subject to the license found in the file 'LICENSE' which must
00006  * be be distributed together with this source. All other rights reserved.
00007  *
00008  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00009  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00010  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00011  */
00012 
00013 /*****************************************************************************
00014  * Automatically generated from sbp.yaml with generate.py, do not hand edit! *
00015  *****************************************************************************/
00016 
00017 #ifndef LIBSWIFTNAV_SBP_MESSAGES_H
00018 #define LIBSWIFTNAV_SBP_MESSAGES_H
00019 
00020 #include "common.h"
00021 
00022 ((* for m in msgs *))
00026 #define SBP_(((m.name))) ((('0x%04X'|format(m.id))))
00027 
00028 typedef struct __attribute__((packed)) {
00029 ((*- for f in m.fields *))
00030   (((f.type.ljust(m.max_type_len)))) ((((f.name+';').ljust(m.max_name_len+1)))) 
00031 ((*- endfor *))
00032 } sbp_(((m.name|lower)))_t;
00033 
00034 ((* endfor *))
00035 #endif /* LIBSWIFTNAV_SBP_MESSAGES_H */
00036 
00037 


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:58