summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
AgeCommit message (Collapse)AuthorFilesLines
2017-11-11Add PROVIDES into libhomescreen bb fileszheng_wenlong3-59/+67
Restore libhomescreen-old.inc to libhomescreen_git.bb, but use fix SRCREV. Change libhomescreen-2017.inc to libhomescreen-2017_git.bb. Add PROVIDES into bb files for switch libhomescreen. These is another commit in meta-agl-devel set PREFERRED_PROVIDER. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/11761/ Change-Id: I2eadc3c703f220f286e8ffa6b52276b792fc0729 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-11-10libqtappfw: clean up syntax and unused FILES* bitsMatt Porter1-17/+2
Fix some unnecessary whitespace and remove all the explicit FILES* additions. These are all handled by the defaults. Bug-AGL: SPEC-1064 Change-Id: I3b610cf503f938c84b17d514bb1ed1cf3f8607bb Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-10Add AGL libqtappfw to the platformMatt Porter1-0/+35
Add libqtappfw to the platform. This supports SDK development and runtime of apps leveraging libqtappfw. Bug-AGL: SPEC-1064 Change-Id: I7fc54fc7d9c4db885cd79d899bd40f44e4543766 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-05Allow SRCREV handling through poky-agl.confeel_4.99.2eel/4.99.24.99.2Jan-Simon Möller29-58/+58
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Finally git checkouts should use https by default. Bug-AGL: SPEC-864 Change-Id: I2fdacda8fa7373f309a47db72ad40106ade53434 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-02Add a new include file for new framework homescreenzheng_wenlong3-57/+70
Rename old libhomescreen_git.bb to libhomescreen-old.inc for old homscreen. Add a new include file named libhomescreen-2017.inc for new framework homescreen. In the libhomescreen_git.bb 'require' the respective include file based on DISTRO_FEATURES contains " agl-hmi-framework " or not. [Patch Sets 5] Follow Jan-Simon comments, add new include file. Change old include file SRCREV to old revison. <f5c14333d2170ae9babed53ea530828569a830ff> [Patch Sets 6] Change libhomescreen-2017.inc SRCREV to master revison. <390902a6b002c6af183c939749fdebfcc4b3e839> BUG-AGL: SPEC-993 Change-Id: I4789a25d1079b99fe35917446227bc5ef773dd46 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Add als-meter-demo recipezheng_wenlong1-0/+21
Add a recipe for als-meter-demo application, which use steering-wheel-service to display engine information. Change-Id: Iaac39a357ad227ddff5d9e0e201ee41ef6cf4f14 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-25Add dependency to agl-service-mediaplayer build recipeJan-Simon Möller1-1/+1
This fixes a FTBS due to the missing dependency. Change-Id: Ic14623859d304f6a17318dc4a5a3299f10e89b89 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-16Update agl-service-steering-wheel SRCREVzheng_wenlong1-1/+1
Update SRCREV to master revision. <44e29d0b7b0382214dfae5b82c1c038d6bf7877f> Change-Id: Ibb85b082d74e613b1ed4dd0e331415c5b75eb1a3 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-16mediaplayer: add agl-service-mediaplayer recipeMatt Ranostay1-0/+18
Bug-AGL: SPEC-959 Change-Id: Id7e3529eb694eb6b00c53f42668ed04a56baa051 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-11agl-service-geofence: add recipe for geofence serviceMatt Ranostay1-0/+18
Bug-AGL: SPEC-900 Change-Id: I25aaf81358959841c3430da493f721c0177e4292 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-09mapview: It should be run user service instead of systemHarunobu Kurokawa2-4/+6
Change-Id: I65dd87561b80765ae2bbff5fc7f903ffe27394a8 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-09-16mediaplayer: move service dependency from DEPENDS to RDEPENDSMatt Ranostay1-2/+4
agl-service-mediascanner needs to be in RDEPENDS to be pulled into the image, and because it isn't required for built-time. Bug-AGL: SPEC-896 Change-Id: I1afe3ce32fe63e4e1b1f56f149700553a214320b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-15agl-service-geoclue: add geoclue binding recipeMatt Ranostay1-0/+17
Bug-AGL: SPEC-852 Change-Id: I6c45f274814a1bf28e590d9ea1c09bef87f389d6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-11agl-service-mediascanner: add recipe for standalone serviceMatt Ranostay2-2/+19
Split out binding to its own standalone service independent of the MediaPlayer application Bug-AGL: SPEC-848 Change-Id: I9f5e76023fd7ebbe0a9c205a9ffd81a732b2800a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-11Add agl-service-steering-wheel recipezheng_wenlong1-0/+15
Add agl-service-steering-wheel recipe, application can use this recipe to build agl-service-steering-wheel. Change-Id: Ic985af7c9abcee4b844748913216e97a8e9280f2 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-09-11low-can-demo_git.bb: Fix typoLeon Anavi1-2/+2
Fix a typo in the summary and the description of the recipe by replacing HTTP5 with HTML5. Bug-AGL: SPEC-866 Change-Id: Ica941e8f51ee43eafaa907370caa2c74e7d2e5e4 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-09-06Add missing dependencyRonan Le Martret1-1/+1
* rtl-sdr pulseaudio are require to build package binding/binding.pro:9:PKGCONFIG += json-c afb-daemon librtlsdr glib-2.0 libpulse-simple Change-Id: I8083d994edf6a14fbd41ebac8b13aed1ea7ffea0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-05agl-service-gps: add recipe to build gps/gnss bindingMatt Ranostay1-0/+17
Add recipe that builds the gps/gnss binding for location services Bug-AGL: SPEC-824 Change-Id: I485967a640d0dbd3febdbe474f025155797c85ad Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-05agl-service-bluetooth: switch from qmake to cmakeMatt Ranostay1-5/+2
Use cmake to build instead of qmake that was used for legacy reasons Bug-AGL: SPEC-822 Change-Id: I953199ccc7f06336ed01be5f88b49640a18930ff Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-05agl-service-wifi: switch from qmake to cmakeMatt Ranostay1-5/+2
Use cmake to build instead of qmake that was used for legacy reasons Bug-AGL: SPEC-823 Change-Id: I582afda13baf847315c99ef30fe872c50ba5e0d5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-04agl-service-radio: add recipe for newly standalone bindingMatt Ranostay2-1/+23
Now that the radio binding is standalone their needs to be a recipe to build it, and a RDEPENDS added to the radio application. Bug-AGL: SPEC-834 Change-Id: I1d830181c6dcd12036b8e39d0442e010d579194e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-04Fix: Build error and launch failRomain Forlot1-1/+1
Gulp dependency remove from build and change the widget entry point to point the right path Remove warning about unused variable that could fails compilation. Bug-AGL: SPEC-849 Change-Id: I74fbc89e89f3dea26b067e09f5cd145f8ded8015 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-30Integration Low CAN demo and High Lvl ViWi.Romain Forlot2-0/+38
This integration use non automatic post installation at first boot on a board. Change-Id: I0f080c72ec98b9280256de20a45aa847714bebf0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-08navigation: fixing navigation packaging methodsNaoto Yamaguchi4-56/+2
With this fix, the navigation build method will be compatible with the SDK. This patch contains the workaround of the problem discussed in SPEC-384. This patch contains fix of problems that lose dependency. Change-Id: Ibf02040f78a2f925a430a5844f735a00cd375d08 Bug-AGL: SPEC-384 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-08-04Hotfix : Correct navigation dependencyNaoto Yamaguchi2-1/+5
Currently, the dependency of navigation is broken. libdbusC++ is not installed. We will implement provisional response for DD. Change-Id: If29fffdd2279ccbe852632b3495cf9a951e46874 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-07-27Temporarily fix the navigation app until SPEC-384 and SPEC-785 are fixedJan-Simon Möller1-0/+8
The navigation app is not fully converted to a wgt as it expects to ship a platform library instead of containing all parts in the wgt. For now (due to the short time until the dab release) mitigate the issue by allowing the platform install. Change-Id: Ic9430c56cf459be2c466e186320bc97cdc8d628d Bug-AGL: SPEC-384 SPEC-785 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-01Fix agl-service-bluetooth and agl-service-wifi recipe dependenciesJan-Simon Möller2-0/+6
Change-Id: Icefde01288acc4380b4f198393ec8891400a95b2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-30settings: add service bindings to RDEPENDSMatt Ranostay1-0/+5
Add bluetooth and wifi services to the settings package RDEPENDS Bug-AGL: SPEC-661 SPEC-715 Change-Id: I4cf3cd14cabda38a32ca8fe4da97b8e747f9a1d9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-30agl-service-wifi: add new system wide wifi serviceMatt Ranostay1-0/+15
Add agl-service-wifi recipe for the recently split out wifi binding Change-Id: Ic9b61df2e69d888679c2d57b0b6f3d4469d00b91 Bug-AGL: SPEC-661 SPEC-715 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-30agl-service-bluetooth: add new system wide bluetooth serviceMatt Ranostay1-0/+15
Add agl-service-bluetooth recipe for the recently split out bluetooth binding Change-Id: Id90f9a8d8623927897c9efa3236465c50a7932ed Bug-AGL: SPEC-661 SPEC-715 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-15Add lightmediascanner to RDEPENDS for mediaplayerJan-Simon Möller1-1/+1
The dependency is at runtime through dbus. Related but not solving SPEC-657 . It was solved in c9793 I7935fe12289fb2585c95df5f207bd447c8aafd6b Change-Id: I9770f8bfef85b8e9e5ab60f4dbb0969bf8f5bf48 Bug-AGL: SPEC-657 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08phone: Depends on homescreenLeon Anavi1-1/+1
Homescreen is required for building tests in phone therefore it has been added as a dependency to avoid build errors such as: Project ERROR: homescreen development package not found AGL-Bug: SPEC-653 Change-Id: I644169526133418b86906c3c02438508034a3ee2 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-05-29Unpin after Daring Dab RC1Jan-Simon Moeller17-18/+0
Revert "Add a bbappend with pinnning for all packages with AUTOREV" This reverts commit 87ec15b961e9502b7741d51503d5c77563b1c45a. Change-Id: I35c74ad137217a9e8833baab8de9964de63ac61c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Add a bbappend with pinnning for all packages with AUTOREVdab_3.99.1dab/3.99.13.99.1Jan-Simon Möller17-0/+18
This pins all packages using AUTOREV to DISTRO_BRANCH_VERSION_TAG Change-Id: Id8aa34a9115cd6659ce1c154d78197229d3c036f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25radio: update recipe for switch to radio bindingScott Murray1-8/+4
Building the radio application has some different dependencies with the switch to using a binding instead of qtmultimedia. Update DEPENDS and RDEPENDS to reflect the changes. Bug-AGL: SPEC-581 Change-Id: I610b580f54d4348cd27ada3eaee4711f02d94df6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-05-24homescreen: add pulseaudio dependencyMatt Porter1-1/+1
Add pulseaudio to DEPENDS now that homescreen has added support for the master volume control that uses pulseaudio AGL-Bug: SPEC-618 Change-Id: I0519dc96b45a5c844d0682a1a14c49df25ce87e5 Reported-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-23mediaplayer: fix RDEPENDSScott Murray1-0/+2
mediaplayer needs the qtmultimedia bits, add an explicit RDEPENDS on them. This will be required when the radio app stops using qtmultimedia. Change-Id: If59667b854171a24328f8a996cdd214a4836753d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-05-16Makefile compatible with aglwgt_package task.Romain Forlot2-0/+21
This patch allows building and install widget file using tasks aglwgt_package and aglwgt_deploy. Bug-AGL: SPEC-503 Change-Id: I6cee956a3e7f137cd48987b5f9c2bfb1511993f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-05Correspondence of AGL-wgt for poi appNaoto Yamaguchi2-26/+4
POI app makefile supported the 'make package' target. This patch will change to the corresponding git revision. Bug-AGL: SPEC-384 Change-Id: I3fda01580e80ae60db7386b19cef31e5d71038cf Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-04-02Use split out AGL QtQuickControls2 repositoriesScott Murray3-65/+46
Replace usage of the CES2017 repository with the new split out qtquickcontrols2-agl and qtquickcontrols2-agl-style repositories containing the AGL demo custom widgets and style. Since the CES2017-demo recipe no longer serves a purpose, remove it now as well. Bug-AGL: SPEC-404, SPEC-462 Change-Id: I0c31ccfe45c8912da4589e38c2cb159975536aad Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-03-28Add missing sqlite3 to DEPENDSMatt Ranostay1-1/+1
Lightmediascanner support needs sqlite3 support builtin AGL-Issue: SPEC-482 Change-Id: I20617f2af1b0cdf550e9b14b1d79b74b839fb8be Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-22Removed wl-shell-emulator from AGLRonan Le Martret1-1/+1
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: Icfaf91de624ed89e9640a9daf1a92b5de8912863 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-17Fixed the problem of the map screen corruptionNaoto Yamaguchi1-1/+1
The R-CarM3 environment has a problem of the map screen corruption. This commit is intended to refer to the fixed revision. Bug-AGL: SPEC-481 Change-Id: I452d45c1d3dcfc4e87cb4bad049cddeadb6e4997 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-03-09Fixed WindowManager startupRonan Le Martret1-1/+2
* WindowManager must start only when weston is ready. [SPEC-470] Change-Id: I1d63cdb60223686e18ed49fa48d2a14bb978949b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-03Switch to split out demo appsScott Murray8-103/+114
Add recipes for the split out controls, dashboard, phone, and radio app repositories, remove the related packaging of same from the CES2017-demo recipe, and add the split out apps to IMAGE_AGL_APPS in the agl-demo-platform image definition. Bug-AGL: SPEC-400, SPEC-401, SPEC-402, SPEC-403, SPEC-404 Change-Id: Ic3c7d134c90dd3fe989cb1ef7a510b1c5bf1fee8 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-02-15Fixed demo recipes to auto-install wgt app at first bootRonan Le Martret3-40/+22
* link to gerrit review 8473 (meta-agl-extra) Change-Id: I8d8c03654d4eee14bb28449d29afd4c75fac6385 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-01-25Split homescreen recipe into new recipesBocklage, Jens6-71/+177
The homescreen recipe used to build several components. These have their own recipes now. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-24Add switch on/off script for cluster demoynakamura8-5/+136
v2.0: (Tadao Tanikawa) Completely rebuilt. The mapviewer and mapvier-demo are installed into porter's image only because they need AGL CES2017 Demo mock-up. To enable mapviewer-demo, execute switch_on_mapviewer-demo.sh at /usr/AGL/mapviewer-demo then reboot porter. CAUTION: After enabling mapviewer-demo, without cluster mock up which connected directly to porter board, weston on the porter board would always crash immediately after booting. If you fall into that situation, disable mapviewer-demo following instructions below. To disable mapviewer-demo, execute switch_off_mapviewer-demo.sh at /usr/AGL/mapviewer-demo then reboot porter. v1.0: (Yusuke Nakamura) This addes script to enable/disable CES2017 cluster demo to /usr/AGL/cluster-demo. Once switch_on_cluster-demo.sh is executed, this enables a service for cluster demo and sets configurations for the dmeo. Change-Id: Ie10f35ff4168095c3b3c6572579a2c4799c04578 Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-01-24Navigation update for AMM 2017 demosNaoto Yamaguchi5-37/+74
This patch includes the following correspondence. Partial fix : Fix SPEC-364 SDK build issue. For AMM demo : Enable japanese guide voice. Adding JP map download script. Change-Id: I4c58a6e4630460ff2f30abb73519aaaab0e2b7b5 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-01-23Change audio output attribute of navigationNaoto Yamaguchi2-2/+2
AudoManager determines the audio attribute with the parameter "media.role". Since Navigation was using "media.name", change it to use "media.role". Change-Id: I0af2ff068eeff5eab4e6bf28797f5aeab386c880 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
S_BASE | CID_GPS_SERIAL3) //!< \~english SIF2 Data CID /** * \~english @brief _CWORD82_ command send CID * \~english @brief Message structure\n * \~english @brief Message buffer header structure @ref T_APIMSG_MSGBUF_HEADER\n * \~english @brief Message header structure @ref T_APIMSG_HEADER\n * \~english @brief Message main structure @ref TgGpsSndData\n * \~english @brief Message data(Vehicle sensor information setting message) structure @ref VEHICLE_MSG_SEND_DAT\n */ #define CID_GPS__CWORD82__REQUEST (CID)(CID_GPS_BASE | CID_GPS_SERIAL4) #define CID_GPS_CYCLEDATA_PROV (CID)(CID_GPS_BASE | CID_GPS_SERIAL5) //!< \~english Gps cycle data CID #define CID_GPS_RCV_REQUESTDATA (CID)(CID_GPS_BASE | CID_GPS_SERIAL6) //!< \~english u-blox request data CID #define CID_GPS_RCV_ACKDATA (CID)(CID_GPS_BASE | CID_GPS_SERIAL7) //!< \~english u-blox ack data CID #define CID_GPS_SERIAL8 (CID)0x0108 //!< \~english Defination of Time Setting request #define CID_GPS_SERIAL9 (CID)0x0109 //!< \~english Defination of Time Setting ack #define CID_GPS_SERIAL10 (CID)0x010A //!< \~english Defination of back up data read request #define CID_GPS_SERIAL11 (CID)0x010B //!< \~english Defination gps of week count request /** * \~english @brief Defination of Time Setting request * \~english @brief Message structure\n * \~english @brief Message header structure @ref T_APIMSG_MSGBUF_HEADER\n * \~english @brief Message body structure @ref TgGpsSndData\n * \~english @brief Positioning information structure @ref POS_MSGINFO\n * */ #define CID_GPS_TIMESETTING (CID)(CID_GPS_BASE | CID_GPS_SERIAL8) /** * \~english @brief Defination of Time Setting ack * \~english @brief Message structure\n * \~english @brief Message body structure @ref TG_GPS_RET_TIMESET_MSG\n */ #define CID_GPS_RETTIMESETTING (CID)(CID_GPS_BASE | CID_GPS_SERIAL9) /** * \~english @brief Read backup data request CID * \~english @brief When this command is received, the backup data is read.\n * \~english @brief Message-Related Structures\n * \~english @brief Message buffer header structure @ref T_APIMSG_MSGBUF_HEADER */ #define CID_GPS_BACKUPDATA_LOAD (CID)(CID_GPS_BASE | CID_GPS_SERIAL10) /** * \~english @brief Gps Week count request CID * \~english @brief Message structure\n * \~english @brief Message buffer header structure @ref T_APIMSG_MSGBUF_HEADER\n * \~english @brief Message header structure @ref T_APIMSG_HEADER\n * \~english @brief Message data(Gps Week correction count notify message) structure @ref GpsWeekCorCntMsg\n */ #define CID_GPSWEEKCOR_CNT_NOTIFICATION (CID)(CID_GPS_BASE | CID_GPS_SERIAL11) /** * \~english @brief GPS reset result delivery command ID * \~english @brief If you want to catch above envents, use NSFW like below. * \~english @code * l_eStatus = FrameworkunifiedAttachCallbackToDispatcher(hThread, TN_POSITIONING_GPS, CID_POSIF_REQ_GPS_RESET, OnRecivePosResetMsg); * @endcode */ #define CID_POSIF_REQ_GPS_RESET 0x0784 #define POSHAL_DID_GPS_CONNECT_ERROR 0x800000B5U //!< \~english GPS receive error DID #define GPS_READ_LEN 316 //!< \~english Gps NMEA FULLBINARY max length #define GPS_CMD_NMEA_GGA_SZ (71U) //!< \~english GGA #define GPS_CMD_NMEA_DGGA_SZ (75U) //!< \~english double precison GGA #define GPS_CMD_NMEA_VTG_SZ (37U) //!< \~english VTG #define GPS_CMD_NMEA_RMC_SZ (61U) //!< \~english RMC #define GPS_CMD_NMEA_DRMC_SZ (67U) //!< \~english double precison RMC #define GPS_CMD_NMEA_GLL_SZ (44U) //!< \~english GLL #define GPS_CMD_NMEA_DGLL_SZ (50U) //!< \~english double precison GLL #define GPS_CMD_NMEA_GSA_SZ (66U) //!< \~english GSA #define GPS_CMD_NMEA_GSV_SZ (70U) //!< \~english GSV #define GPS_CMD_NMEA__CWORD44__GP_3_SZ (78U) //!< \~english _CWORD44_,GP,3 #define GPS_CMD_NMEA__CWORD44__GP_4_SZ (25U) //!< \~english _CWORD44_,GP,4 #define GPS_CMD_NMEA_P_CWORD82_F_GP_0_SZ (50U) //!< \~english _CWORD44_,GP,0 #define GPS_CMD_NMEA_P_CWORD82_J_GP_1_SZ (31U) //!< \~english _CWORD44_,GP,1 #define GPS_CMD_NMEA_P_CWORD82_I_GP_SZ (71U) //!< \~english P_CWORD82_I,GP #define GPS_CMD_NMEA_P_CWORD82_E_GP_0_SZ (50U) //!< \~english P_CWORD82_E,GP,0 #define GPS_CMD_NMEA_P_CWORD82_J_GP_0_SZ (63U) //!< \~english P_CWORD82_J,GP,0 #define GPS_CMD_NMEA_P_CWORD82_E_GP_2_SZ (21U) //!< \~english P_CWORD82_E,GP,2 #define GPS_CMD_NMEA_P_CWORD82_G_GP_0_SZ (34U) //!< \~english P_CWORD82_G,GP,0 #define GPS_CMD_NMEA_P_CWORD82_J_GP_7_SZ (37U) //!< \~english P_CWORD82_J,GP,7 #define GPS_CMD_NMEA_P_CWORD82_J_GP_8_SZ (45U) //!< \~english P_CWORD82_J,GP,8 #define GPS_CMD_BINARY_SZ (81U) //!< \~english standard binary #define GPS_CMD_FULLBIN_SZ (316U) //!< \~english FULL binary(GPS10 format) #define GPS_CMD_FULLBIN_VINFO (30U + 160U + 25U + 8U) //!< \~english FULL bianry version #define GPS_NMEA_MAX_SZ (255U) //!< \~english NMEA max size #define GPS_DATASIZE_RTC (13U) //!< \~english RTC Data size #define GPS_NMEARCVSTS_SZ (1U) //!< \~english received NMEA size #define GPS_GPSANT_SZ (1U) //!< \~english gps antenna status size #define GPS_SNSCNT_SZ (1U) //!< \~english Sensor Count value size #define GPS_CMD_NMEA_PROV_SZ (GPS_CMD_NMEA_DRMC_SZ + GPS_CMD_NMEA_GSA_SZ + \ (GPS_CMD_NMEA_GSV_SZ*3) + GPS_CMD_NMEA__CWORD44__GP_3_SZ) //!< \~english NMEA size #define GPS_NMEA_SZ (GPS_NMEARCVSTS_SZ + GPS_GPSANT_SZ + GPS_SNSCNT_SZ + GPS_CMD_NMEA_PROV_SZ) //!< \~english NEMA size #define GPS_FULLBIN_SZ (GPS_GPSANT_SZ + GPS_SNSCNT_SZ + GPS_CMD_FULLBIN_SZ) //!< \~english FULLBIN size #define GPS__CWORD44_GP4_SZ (GPS_GPSANT_SZ + GPS_SNSCNT_SZ + GPS_CMD_NMEA__CWORD44__GP_4_SZ) //!< \~english _CWORD44_GP4 size #define GPS_MSGDATA_SZ_MAX (512U) //!< \~english message maximum data size #define GPS_TLGRM_LEN 253 //!< \~english message data length #define GPS_MSG_VSINFO_DSIZE 1904 //!< \~english message body size #define POS_MSG_INFO_DSIZE 1028 //!< \~english message body maximum size /** * @enum MdevGpsDataKind * \~english enumeration of gps data kind */ typedef enum MdevGpsDataKind { MDEV_GPS_DATA_RAWDATA_NMEA = 0, //!< \~english raw NMEA data of GPS MDEV_GPS_DATA_RAWDATA_FULLBIN, //!< \~english raw binary data of GPS MDEV_GPS_DATA_RAWDATA__CWORD44_GP4, //!< \~english raw _CWORD44_ data of GPS MDEV_GPS_DATA_NAVISPEED, //!< \~english speed data MDEV_GPS_DATA_CUSTOMDATA, //!< \~english position information MDEV_GPS_DATA_GPSTIME, //!< \~english GPS time MDEV_GPS_DATA_GPSTIME_RAW, //!< \~english raw time of GPS MDEV_GPS_DATA_INITIAL //!< \~english initialize data } MDEV_GPS_DATA_KIND; /** * @struct NAVIINFO_UTCTIME * \~english UTC time information structure */ typedef struct { uint16_t year; //!< \~english year uint8_t month; //!< \~english month uint8_t date; //!< \~english day uint8_t hour; //!< \~english hour uint8_t minute; //!< \~english minute uint8_t second; //!< \~english second uint8_t reserved; //!< \~english reserve } NAVIINFO_UTCTIME; /** * @struct SENSORLOCATION_LONLATINFO_DAT * \~english longitude and latitude information data * - Get method(getMethod) * - SENSOR_GET_METHOD_GPS - longitude and latitude from GPS * - SENSOR_GET_METHOD_NAVI - longitude and latitude from Navigation * - Synchrony count(SyncCnt) * - Count for position data synchronous \n * When delivery altitude and heading data, position data can be synchronized by SyncCnt.\n * But the data of different method can not be synchronized by SyncCnt.\n * Example 1: [LonLat from GPS] and [Heading from GPS] can be synchronized by SyncCnt.\n * Example 2: [LonLat from GPS] and [LonLat from Navi] can not be synchronized by SyncCnt.\n * Caution: The sensor count in sensor data delivery is another data. * - Enable or not(isEnable) \n * To describe this delivery message is whether can be used or not * - 0 - not avaliable * - not 0 - avaliable * - when GPS data is specified,longitude and latitude is invalid at following condition:\n * so [not avaliable] provieded * - After system start, GPS unit has not received current location data and GPS unit \n * status is not positioning fixed. * - If it is not initialized status, certainly provide [avaliable] when Navigation data specified * - If the status is [not avaliable], data following can not be guaranteed. * - Position status(posSts) * - It is valid only when "Get method is Navigation" and "evironment is _CWORD80_".(otherwise it will be set as 0) * - Bit0 : GPS data used result(1:used, 0:not used, definition of maskbit:POS_LOC_INFO_USE_GSP) * - Bit1 : DGPS data used result(1:used, 0:not used, definition of maskbit:POS_LOC_INFO_USE_DGPS) * - Bit3 : MapMatching data used result(1:used, 0:not used, definition of \n * maskbit:POS_LOC_INFO_USE_MAPMATCHING) * - Position accuracy(posAcc) * - Detected accruray of current position:1LSB=1m \n * - It is valid only when "Get method is Navigation" and "evironment is _CWORD80_".(otherwise it will be set as 0)\n * 0000H:0m \n * 0001H:1m \n * :\n * FFFDH:65533m \n * FFFEH:65534m and larger than 65534m \n * FFFFH:no data * - Longitude : (WGS-84)(10^ -7degree as 1) \n * East longitude is positive value and west longitude is negative value. * - Latitude : (WGS-84)(10^ -7degree as 1) \n * North latitude positive value and south latitude is negative value. */ typedef struct { uint8_t getMethod; //!< \~english get method uint8_t SyncCnt; //!< \~english Synchrony count uint8_t isEnable; //!< \~english enable or not uint8_t posSts; //!< \~english position status uint16_t posAcc; //!< \~english position accuracy int32_t Longitude; //!< \~english longitude(10^-7degree) //!< \~english max: +180.0000000degree[east longitude] //!< \~english min: -170.9999999degree[west longitude] int32_t Latitude; //!< \~english latitude(10^-7degree) //!< \~english max: +90.0000000degree[north Latitude] //!< \~english min: -90.0000000degree[south Latitude] } SENSORLOCATION_LONLATINFO_DAT; /** * @struct SENSORLOCATION_ALTITUDEINFO_DAT * \~english altitude information data * - Get method(getMethod) * - SENSOR_GET_METHOD_GPS - altitude from GPS * - SENSOR_GET_METHOD_NAVI - altitude from Navigation * - Synchrony count(SyncCnt) * - Count for position data synchronous \n * When delivery altitude and heading data, position data can be synchronized by SyncCnt. \n * But the data of different method can not be synchronized by SyncCnt.\n * example 1: [longitude and latitude from GPS] and [heading from GPS] can be synchronized by SyncCnt.\n * example 2: [longitude and latitude from GPS] and [longitude and latitude from Navi] can not be * synchronized by SyncCnt. \n * Caution: The sensor count in sensor data delivery is another data. * - Enable or not(isEnable) \n * To describe this delivery message is whether can be used or not. * - 0 - not avaliable * - not 0 - avaliable * - when GPS data specified, Altitude is invalid at following condition(so [not avaliable] provieded): * - Immediately after system start, GPS unit has not received current location data and GPS unit status \n * is not positioning fix * - If it is not initialization status, certainly provide [avaliable] when Navi data specified * - If the status is [not avaliable], data following can not be guaranteed. * - Altitude * - altitude data(unit 0.01m) */ typedef struct { uint8_t getMethod; //!< \~english get method uint8_t SyncCnt; //!< \~english Synchrony count uint8_t isEnable; //!< \~english enable or not uint8_t Reserved[3]; //!< \~english reserve int32_t Altitude; //!< \~english altitude(0.01m) } SENSORLOCATION_ALTITUDEINFO_DAT; /** * @struct SENSORMOTION_HEADINGINFO_DAT * \~english heading information data * - Get method(getMethod) * - SENSOR_GET_METHOD_GPS - Heading from GPS * - SENSOR_GET_METHOD_NAVI - Heading from Navi * - Synchrony count(SyncCnt) * - Count for position data synchronous \n * When delivery altitude and heading data, position data can be synchronized by this count. \n * But the data of different method can not be synchronized by this count.\n * example 1: [longitude and latitude from GPS] and [heading from GPS] can be synchronized by the count. \n * example 2: [longitude and latitude from GPS] and [longitude and latitude from Navi] can not be \n * synchronized by the count. \n * Caution: The sensor count in sensor data delivery is another data. * - Enable or not(isEnable) \n * To describe this data is whether enable or not * - 0 - not avaliable * - not 0 - avaliable * - Heading is invalid at following condition when GPS data specified, so [not avaliable] provieded \n * - Immediately after system start, GPS unit has not received current location data and GPS unit status \n * is not positioning fix * - If it is not initialization status, certainly provide [avaliable] when Navi data specified * - If the status is [not avaliable], data following can not be guaranteed. * - Position status(posSts) * - It is valid only when "Get method is Navi" and "evironment is _CWORD80_".(otherwise it will be set as 0) * - Bit0 : GPS data used result(1:used, 0:not used, definition of maskbit:POS_LOC_INFO_USE_GSP) * - Bit1 : DGPS data used result(1:used, 0:not used, definition of maskbit:POS_LOC_INFO_USE_DGPS) * - Bit3 : MapMatching data used result(1:used, 0:not used, definition of \n * maskbit:POS_LOC_INFO_USE_MAPMATCHING) * - Heading * - Heading data(0.01degree as 1, based on north and clockwise count)\n * But in environment _CWORD95_/_CWORD101___CWORD84_,the heading from Navi is a approximate that separate 360 degree \n * into 16 part. \n * example: 0, 2300, 4500, ..., 31500, 33800 */ typedef struct { uint8_t getMethod; //!< \~english get method uint8_t SyncCnt; //!< \~english Synchrony count uint8_t isEnable; //!< \~english enable or not uint8_t posSts; //!< \~english position status uint8_t Reserved1[2]; //!< \~english reserve uint16_t Heading; //!< \~english heading(0.01degree) //!< \~english max: 359.99 degree //!< \~english min: 0.00 degree uint8_t Reserved2[2]; //!< \~english reserve } SENSORMOTION_HEADINGINFO_DAT; /** * @struct NAVIINFO_DIAG_GPS_FIX_CNT * \~english position fix count data structure */ typedef struct { uint32_t ulCnt3d; //!< \~english position fix count:3D uint32_t ulCnt2d; //!< \~english position fix count:2D uint32_t ulCntElse; //!< \~english position fix count:not fix } NAVIINFO_DIAG_GPS_FIX_CNT; /** * @struct NAVIINFO_DIAG_GPS_FIX_XYZ * \~english longitude and latitude data structure */ typedef struct { int32_t lLat; //!< \~english GPS latitude int32_t lLon; //!< \~english GPS longitude } NAVIINFO_DIAG_GPS_FIX_XYZ; /** * @struct NAVIINFO_DIAG_GPS_FIX * \~english position fix information structure */ typedef struct { uint8_t ucFixSts; //!< \~english fix status uint8_t ucReserve[3]; //!< \~english reserve NAVIINFO_DIAG_GPS_FIX_CNT stCnt; //!< \~english fix count data NAVIINFO_DIAG_GPS_FIX_XYZ stWgs84; //!< \~english longitude and latitude data } NAVIINFO_DIAG_GPS_FIX; /** * @struct NAVIINFO_DIAG_GPS_PRN * \~english satellite information structure * - reception status(ucRcvSts) * - NAVIINFO_DIAG_GPS_RCV_STS_NOTUSE : not used * - NAVIINFO_DIAG_GPS_RCV_STS_SEARCHING : searching * - NAVIINFO_DIAG_GPS_RCV_STS_TRACHING : tracking * - NAVIINFO_DIAG_GPS_RCV_STS_NOTUSEFIX : not used for position fix * - NAVIINFO_DIAG_GPS_RCV_STS_USEFIX : used for position fix */ typedef struct { uint8_t ucRcvSts; //!< \~english reception status uint8_t ucPrn; //!< \~english satellite No. uint8_t ucelv; //!< \~english satellite dramatic angle uint8_t ucLv; //!< \~english satellite signal level uint16_t usAzm; //!< \~english satellite azimuth uint8_t ucReserve[2]; //!< \~english reserve } NAVIINFO_DIAG_GPS_PRN; /** * @struct NAVIINFO_DIAG_GPS_SAT * \~english all satellite information structure */ typedef struct { NAVIINFO_DIAG_GPS_PRN stPrn[12]; //!< \~english all satellite information } NAVIINFO_DIAG_GPS_SAT; /** * @struct NAVIINFO_DIAG_GPS * \~english position fixed and satellite information structure */ typedef struct { NAVIINFO_DIAG_GPS_FIX stFix; //!< \~english position fixed information NAVIINFO_DIAG_GPS_SAT stSat; //!< \~english all satellite information } NAVIINFO_DIAG_GPS; /** * @struct NAVIINFO_NAVI_GPS * \~english other GPS related information structure * - altitude(altitude) \n * As the altitude is used as unit [0.01m] in internal, \n * the altitude data range is (-21,474,839~21,474,839). * - UTC(utc) * - The time set after rollover. * - date and time status(tdsts) * - 0= time has not been adjusted after GPS receiver reset(time input or master reset or CSF start) * - 1= time output from RTC Backup(have time adjustment result) * - 2= time adjustment completed */ typedef struct { int32_t altitude; //!< \~english altitude uint16_t speed; //!< \~english speed uint16_t heading; //!< \~english heading NAVIINFO_UTCTIME utc; //!< \~english UTC time uint8_t tdsts; //!< \~english date and time status uint8_t reserve[3]; //!< \~english reserve } NAVIINFO_NAVI_GPS; /** * @struct NAVIINFO_ALL * \~english Navi data structure */ typedef struct { uint8_t ucSensorCnt; //!< \~english sensor count uint8_t reserve[3]; //!< \~english reserve NAVIINFO_DIAG_GPS stDiagGps; //!< \~english position fix related information NAVIINFO_NAVI_GPS stNaviGps; //!< \~english other GPS related information } NAVIINFO_ALL; /** * @struct POS_MSGINFO * \~english message delivery positioning sensor information */ typedef struct { DID did; //!< \~english data ID PNO pno; //!< \~english delivery destination PNO uint16_t size; //!< \~english data body size uint8_t rcv_flag; //!< \~english received flag uint8_t reserve; //!< \~english reserve uint8_t data[POS_MSG_INFO_DSIZE]; //!< \~english data body } POS_MSGINFO; /** * @struct SENSOR_GPSTIME * \~english GPS time information * - date amd time status(tdsts) * - 0= time has not been adjusted after GPS receiver reset(time input or master reset or CSF start) * - 1= time output from RTC Backup(have time adjustment result) * - 2= time adjustment completed */ typedef struct { NAVIINFO_UTCTIME utc; //!< \~english UTC time uint8_t tdsts; //!< \~english time status uint8_t reserve[3]; //!< \~english reserve } SENSOR_GPSTIME; #define SENSOR_MSG_GPSTIME SENSOR_GPSTIME //!< \~english GPS time information #define SENSOR_GPSTIME_RAW SENSOR_GPSTIME //!< \~english GPS time information /** * @struct MdevGpsCustomData * \~english Struct of Gps custom data */ typedef struct MdevGpsCustomData { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind SENSORLOCATION_LONLATINFO_DAT st_lonlat; //!< \~english longtitude,latitude SENSORLOCATION_ALTITUDEINFO_DAT st_altitude; //!< \~english altitude SENSORMOTION_HEADINGINFO_DAT st_heading; //!< \~english headings SENSOR_MSG_GPSTIME st_gps_time; //!< \~english Gps Time NAVIINFO_DIAG_GPS st_diag_gps; //!< \~english Gps data from diag } MDEV_GPS_CUSTOMDATA; /** * @struct MdevGpsCustomDataMgs * \~english Struct of Gps custom data message */ typedef struct MdevGpsCustomDataMgs { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_CUSTOMDATA st_data; //!< \~english Gps Custom Data } MDEV_GPS_CUSTOMDATA_MGS; /** * @struct MdevGpsRtc * \~english Struct of Gps RTC data */ typedef struct MdevGpsRtc { u_int32 ul_retsts; //!< \~english return status u_int8 uc_datalen; //!< \~english data length u_int8 uc_ctrlcode; //!< \~english control code u_int8 uc_bcd_year; //!< \~english year u_int8 uc_bcd_month; //!< \~english month u_int8 uc_bcd_day; //!< \~english day u_int8 uc_bcd_hour; //!< \~english hour u_int8 uc_bcd_min; //!< \~english minute u_int8 uc_bcd_sec; //!< \~english second u_int8 uc_status; //!< \~english status u_int8 u_reserve[3]; //!< \~english reserve } MDEV_GPS_RTC; /** * @struct MdevGpsGpsTime * \~english Struct of Gps Time */ typedef struct MdevGpsGpsTime { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind MDEV_GPS_RTC st_rtc_data; //!< \~english Gps Time } MDEV_GPS_GPSTIME; /** * @struct MdevGpsGpsTimeMgs * \~english Struct of Gps Time message */ typedef struct MdevGpsGpsTimeMgs { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_GPSTIME st_data; //!< \~english Gps Time Data } MDEV_GPS_GPSTIME_MGS; /** * @struct DevGpsUtcTime * \~english Struct of Gps UTC time */ typedef struct DevGpsUtcTime { u_int16 us_year; //!< \~english Year u_int8 uc_month; //!< \~english month u_int8 uc_date; //!< \~english day u_int8 uc_hour; //!< \~english hour u_int8 uc_minute; //!< \~english minute u_int8 uc_second; //!< \~english second u_int8 u_reserved; //!< \~english reserve } DEV_GPS_UTCTIME; /** * @enum MdevGpsFixSts * \~english enumeration of gps fix status */ typedef enum MdevGpsFixSts { MDEV_GPS_NOTFIX = 0, //!< \~english not fix MDEV_GPS_FIX //!< \~english fix } MDEV_GPS_FIX_STS; /** * @struct MdevGpsNmea * \~english Struct of gps NMEA Data */ typedef struct MdevGpsNmea { u_int8 uc_nmea_data[GPS_MSG_VSINFO_DSIZE]; //!< \~english NMEA Data } MDEV_GPS_NMEA; /** * @struct MdevGpsFullbin * \~english Struct of Gps full bin data */ typedef struct MdevGpsFullbin { u_int8 uc_fullbin_data[GPS_FULLBIN_SZ]; //!< \~english gps full bin data u_int8 u_reserve[3]; //!< \~english reserve } MDEV_GPS_FULLBIN; /** * @struct MdevGps_CWORD44_gp4 * \~english Struct of Gps _CWORD44_GP4 data */ typedef struct MdevGps_CWORD44_gp4 { u_int8 uc__CWORD44_gp4_data[GPS__CWORD44_GP4_SZ]; //!< \~english gps _CWORD44_GP4 data u_int8 u_reserve; //!< \~english reserve } MDEV_GPS__CWORD44_GP4; /** * @struct MdevGpsCycledata * \~english Struct of Gps cycle data */ typedef struct MdevGpsCycledata { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind u_int8 uc_data[GPS_MSGDATA_SZ_MAX - sizeof(MDEV_GPS_DATA_KIND)]; //!< \~english data } MDEV_GPS_CYCLEDATA; /** * @struct MdevGpsCycledataMsg * \~english Struct of Gps cycle data message */ typedef struct MdevGpsCycledataMsg { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_CYCLEDATA st_data; //!< \~english data } MDEV_GPS_CYCLEDATA_MSG; /** * @struct MdevGpsRawdataNmea * \~english Struct of Gps NMEA Raw Data */ typedef struct MdevGpsRawdataNmea { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind MDEV_GPS_NMEA st_nmea_data; //!< \~english NMEA Data } MDEV_GPS_RAWDATA_NMEA; /** * @struct MdevGpsRawdataNmeaMsg * \~english Struct of Gps NMEA Raw Data message */ typedef struct MdevGpsRawdataNmeaMsg { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header(see vs-positioning-base-library) MDEV_GPS_RAWDATA_NMEA st_data; //!< \~english data } MDEV_GPS_RAWDATA_NMEA_MSG; /** * @struct MdevGpsRawdataFullbin * \~english Struct of Gps Full Bin Raw Data */ typedef struct MdevGpsRawdataFullbin { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind MDEV_GPS_FULLBIN st_fullbin_data; //!< \~english Full Binary Data } MDEV_GPS_RAWDATA_FULLBIN; /** * @struct MdevGpsRawdataFullbinMsg * \~english Struct of Gps Full Bin Raw Data message */ typedef struct MdevGpsRawdataFullbinMsg { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_RAWDATA_FULLBIN st_data; //!< \~english Gps Full Bin Data } MDEV_GPS_RAWDATA_FULLBIN_MSG; /** * @struct MdevGpsRawdata_CWORD44_gp4 * \~english Struct of Gps _CWORD44_GP4 Raw Data */ typedef struct MdevGpsRawdata_CWORD44_gp4 { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind MDEV_GPS__CWORD44_GP4 st__CWORD44_gp4; //!< \~english Gps _CWORD44_GP4 Data } MDEV_GPS_RAWDATA__CWORD44_GP4; /** * @struct MdevGpsRawdata_CWORD44_gp4Msg * \~english Struct of Gps _CWORD44_GP4 Raw Data message */ typedef struct MdevGpsRawdata_CWORD44_gp4Msg { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_RAWDATA__CWORD44_GP4 st_data; //!< \~english Gps _CWORD44_GP4 Raw Data } MDEV_GPS_RAWDATA__CWORD44_GP4_MSG; /** * @struct SENSORMOTION_SPEEDINFO_DAT * \~english speed information data * - Get method(getMethod) * - SENSOR_GET_METHOD_POS - The speed calculated in positioning based on speed pulse will be deliveried. * - SENSOR_GET_METHOD_NAVI - speed from Navi * - Synchrony count(SyncCnt) * - 0 (not change). * - Enable or not(isEnable) \n * To describe this data is whether enable or not * - 0 - not avaliable * - not 0 - avaliable * - Speed is invalid at following condition when speed pulse specified, so [not avaliable] provieded * - Immediately after system start, the sensor data have not been received from SYS micon * - If it is not initialization status, certainly provide [avaliable] when Navi data specified * - If the status is [not avaliable], data following can not be guaranteed. * - Speed * - speed data(unit 0.01m/sec) */ typedef struct { uint8_t getMethod; //!< \~english get method uint8_t SyncCnt; //!< \~english Synchrony count uint8_t isEnable; //!< \~english enable or not uint8_t Reserved1[3]; //!< \~english reserve uint16_t Speed; //!< \~english speed(0.01m/sec) uint8_t Reserved2[2]; //!< \~english reserve } SENSORMOTION_SPEEDINFO_DAT; /** * @struct MdevGpsNavispeed * \~english Struct of Gps speed data */ typedef struct MdevGpsNavispeed { MDEV_GPS_DATA_KIND e_kind; //!< \~english kind u_int16 us_speed_kmph; //!< \~english Speed(km/h) u_int8 u_reserve[2]; //!< \~english reserve SENSORMOTION_SPEEDINFO_DAT st_speed; //!< \~english speed data } MDEV_GPS_NAVISPEED; /** * @struct MdevGpsNavispeedMsg * \~english Struct of Gps speed data message */ typedef struct MdevGpsNavispeedMsg { T_APIMSG_MSGBUF_HEADER h_dr; //!< \~english header MDEV_GPS_NAVISPEED st_data; //!< \~english Gps Speed Data } MDEV_GPS_NAVISPEED_MSG; /** * @struct TgGpsSndData * \~english Struct of _CWORD82_ Gps send data */ typedef struct TgGpsSndData { uint8_t reserve[4]; //!< \~english reserve u_int16 us_size; //!< \~english send data length u_int8 ub_data[502]; //!< \~english send data } TG_GPS_SND_DATA; /** * @struct TgGpsRetPram * \~english Gps Response data */ typedef struct TgGpsRetPram { unsigned int ret_status; //!< \~english response flag unsigned char data_len; //!< \~english data size unsigned char ctrl_code; //!< \~english control code unsigned char gps_data[GPS_TLGRM_LEN]; //!< \~english data contents } TG_GPS_RET_PRAM; /** * @struct SensorWknRollOverHal * \~english Struct of GPS week number */ typedef struct SensorWknRollOverHal { uint16_t us_wkn; //!< \~english GPS week number } SENSOR_WKN_ROLLOVER_HAL; /** * @struct POS_DATETIME * \~english GPS time information structure */ typedef struct { uint16_t year; //!< \~english year uint8_t month; //!< \~english month uint8_t date; //!< \~english day uint8_t hour; //!< \~english hour uint8_t minute; //!< \~english minute uint8_t second; //!< \~english second uint8_t reserved; //!< \~english reserve } POS_DATETIME; /** * @struct TG_GPS_RET_RESET * \~english GPS reset status */ typedef struct { unsigned long ret_rst_status; //!< \~english response GPS reset status } TG_GPS_RET_RESET; /** * @struct TG_GPS_RET_RESET_MSG * \~english GPS reset information message */ typedef struct { TG_GPS_RET_RESET data; //!< \~english GPS reset status data } TG_GPS_RET_RESET_MSG; /** * @struct VEHICLE_MSG_SEND_DAT * \~english Vehicle information setting message structure */ typedef struct { DID did; //!< \~english Data ID u_int16 size; //!< \~english Data size u_int8 data[502]; //!< \~english Data } VEHICLE_MSG_SEND_DAT; /** * @struct GpsWeekCorCntMsg * \~english Gps Week correction count notify message structure */ typedef struct GpsWeekCorCntMsg { T_APIMSG_MSGBUF_HEADER stHead; //!< \~english Message header u_int8 gpsweekcorcnt; //!< \~english Gps Week correction count int8 dummy[3]; //!< \~english Alignment adjustment } CLOCKGPS_GPSWEEKCOR_CNT_MSG; /** @}*/ // end of positioning_hal /** @}*/ // end of positioning /*---------------------------------------------------------------------------*/ #endif // HAL_API_GPS_HAL_H_ /*---------------------------------------------------------------------------*/ /*EOF*/