This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | DATAEXCHANGE_SECTION __attribute__ ((section ("database"))) |
Functions | |
GarminObject * | get_next_wpt (UInt16 current, LocalFormatID format, unsigned char *size) DATAEXCHANGE_SECTION |
Callback function to retrieve waypoint from database for transmission to host. | |
GarminObject * | get_next_rte (UInt16 current, LocalFormatID format, unsigned char *size, Boolean *h, Boolean *eor) DATAEXCHANGE_SECTION |
Callback function to retrieve route from database for transmission to host. | |
GarminObject * | get_next_trk (UInt16 current, LocalFormatID format, byte *size, Boolean *eot) DATAEXCHANGE_SECTION |
Callback function to to retrieve track from database for transmission to host. | |
Err | store_wpt (GarminObject *wpt, UInt16 total, UInt16 current, LocalFormatID format, byte size) DATAEXCHANGE_SECTION |
Callback function to store waypoint to database upon reception from host. | |
Err | store_rte (GarminObject *obj, UInt16 total, UInt16 current, LocalFormatID format, byte size) DATAEXCHANGE_SECTION |
Callback function to store route to database upon reception from host. | |
Err | store_trk (GarminObject *trk, UInt16 total, UInt16 current, LocalFormatID format, byte size) DATAEXCHANGE_SECTION |
Callback function called when a track is received. | |
UInt16 | NumRtePackets (void) DATAEXCHANGE_SECTION |
Get number of data packets for route transfer using Garmin protocol. | |
UInt16 | NumTrkPackets (void) DATAEXCHANGE_SECTION |
Get number of data packets for track transfer using Garmin protocol. |
|
Definition at line 42 of file DataExchange.h. |
|
Callback function to retrieve route from database for transmission to host.
Definition at line 208 of file DataExchange.c. References Raw_D104_Wpt_Type::cmnt, GarminObject::d104, Raw_D104_Wpt_Type::dst, G104Type, gWaypointDB, D104_Wpt_Type::ident, Raw_D104_Wpt_Type::ident, Raw_D104_Wpt_Type::lat, Semicircle_Type::lat, Raw_D104_Wpt_Type::lon, Semicircle_Type::lon, D104_Wpt_Type::posn, UnpackWaypoint(), and route_t::wpt_rec_id. Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Callback function to to retrieve track from database for transmission to host.
Definition at line 391 of file DataExchange.c. References D310_Trk_Hdr_Type::color, GarminObject::d300, GarminObject::d310, D310_Trk_Hdr_Type::dspl, G300Type, G310Type, gTrackHdrDB, Raw_D300_Trk_Point_Type::lat, Semicircle_Type::lat, Raw_D300_Trk_Point_Type::lon, Semicircle_Type::lon, D300_Trk_Point_Type::posn, TrackDBName(), and D310_Trk_Hdr_Type::trk_ident. Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Callback function to retrieve waypoint from database for transmission to host.
Definition at line 103 of file DataExchange.c. References Raw_D104_Wpt_Type::cmnt, GarminObject::d104, Raw_D104_Wpt_Type::dst, G104Type, gWaypointDB, D104_Wpt_Type::ident, Raw_D104_Wpt_Type::ident, Raw_D104_Wpt_Type::lat, Semicircle_Type::lat, Raw_D104_Wpt_Type::lon, Semicircle_Type::lon, D104_Wpt_Type::posn, and UnpackWaypoint(). Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Get number of data packets for route transfer using Garmin protocol.
Definition at line 1022 of file DataExchange.c. References gRouteDB, and route_t::items. Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Get number of data packets for track transfer using Garmin protocol.
Definition at line 1071 of file DataExchange.c. References gTrackHdrDB, and TrackDBName(). Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
|
Callback function called when a track is received.
Definition at line 858 of file DataExchange.c. References D310_Trk_Hdr_Type::color, GarminObject::d300, GarminObject::d310, Default_Color, Die(), D310_Trk_Hdr_Type::dspl, G300Type, G310Type, GetObjectFromActiveForm(), gpslibErrBusy, gpslibErrParamErr, gTrackHdrDB, kCreatorId, kTrkDBType, Raw_D300_Trk_Point_Type::lat, Semicircle_Type::lat, Raw_D300_Trk_Point_Type::lon, Semicircle_Type::lon, Raw_D300_Trk_Point_Type::new_trk, D300_Trk_Point_Type::new_trk, D300_Trk_Point_Type::posn, StoreTrkHdr(), StoreTrkPoint(), D300_Trk_Point_Type::time, TrackCreateAlert, TrackDBName(), trackDrawTable(), TrackForm, TrackIdent(), TrackTable, and D310_Trk_Hdr_Type::trk_ident. Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Callback function to store waypoint to database upon reception from host. If a waypoint with the same waypoint ID already exists, it is modified if required.
Definition at line 569 of file DataExchange.c. References Raw_D104_Wpt_Type::cmnt, D104_Wpt_Type::cmnt, CompareWayptIdent(), GarminObject::d104, Die(), Raw_D104_Wpt_Type::dspl, D104_Wpt_Type::dspl, packed_waypoint_t::dst, D104_Wpt_Type::dst, G104Type, gWaypointDB, h, packed_waypoint_t::ident, Raw_D104_Wpt_Type::ident, D104_Wpt_Type::ident, Raw_D104_Wpt_Type::lat, Semicircle_Type::lat, Raw_D104_Wpt_Type::lon, Semicircle_Type::lon, PackWaypoint(), D104_Wpt_Type::posn, routeDrawTable(), RouteForm, Raw_D104_Wpt_Type::smbl, D104_Wpt_Type::smbl, WaypointForm, and wayptDrawTable(). Referenced by RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |