c#


How to read from a device's COM Port?


I´ve a device running Windows CE, which is capable to receive GPS datas. Now I wrote an application (C#, .Net Compact Framework 2.0 using VS2008) in order to receive this data and later on work with it.
The support contact of the device told me to use its COM port (number 5) to get the data.
As I´m not that experienced in working with C#, I have tried so hard to get the data (Longitude, Latitude) into my local variables … in vain.
My first idea was to add the library (*.dll) brought by the device’s SDK. There I found a structure which contains the variables dLongitude and dLatitude. I thought getting the values of this datas into my local variables would be the solution…result was: they only returned 0.0… … I can’t get rid of the feeling that I’m totally barking up the wrong tree…
(see my first question on this site)
You would help me so much, if you could give me a hint in which direction I have to go. I just don’t know how to read from device’s COM Ports or where to read about how to do so.
Thank you!!
GPS data through serial ports often follows the NMEA 0183 standard. It's pretty much just periodic human-readable numbers.

Related Links

Capturing Desktop activities as recorded movie in C#
QueryString converted to URL-Encode using NameValueCollection
IQueryable C# Select
Is there a better way to do a server-client application?
The use of 'where' in C# [duplicate]
Order by and Group in NHibernate QueryOver
Powershell output formatting
C# / XNA - 2D collision engine glitch?
Creating a GraphicsPath from a semi-transparent bitmap
Programming to interfaces - Facebook C# SDK
FTP upload in .net — not getting correct file path in some browsers
how to insert newline in string in c# after some particular digit?
Olson Time Zone Id to Windows Standard Format using Noda Time
Using Microsoft Interop to read and write into excel cell
Fql multiquery executing in graph explorer but not in c# .net
Calling a jQuery user defined function from Silverlight

Categories

HOME
internet-explorer
http
azure-documentdb
sip
salesforce
gaussian
data-modeling
okhttp3
pandoc
ms-application-insights
google-docs-api
scapy
rmarkdown
subprocess
wkhtmltopdf
theory
openbsd
unreal-engine4
cakephp-2.0
smooth-scrolling
hapijs
project-structure
react-jsx
angular2-pipe
onclicklistener
pumping-lemma
windowserror
tftp
marionette
tikz
jcr
matlab-compiler
dom4j
cache-control
flex3
extern
mybatis-generator
office-interop
qt-quick
nshttpurlresponse
risc
serverless-architecture
opos
flask-socketio
lucee
runtime-permissions
e4
bioperl
sharing
consolidation
strtol
alfred
access-violation
instaparse
magick.net
syslog4j
csc
hoare-logic
sprockets
system-integration
avi
jmap
jsondoc
overlapping
commercetools
lytro
page-flipping
dnvm
musicbrainz
cyberduck
syncano
httpmodule
optimistic-locking
drools-guvnor
react-os
vundle
cvi
netbeans-plugins
scidb
mobile-robots
azure-pack
forward-declaration
simplemembership
mmo
qt5.1
correctness
invalidoperationexception
netbiscuits
states
jqueryi-ui-buttonset
helicontech
youtube.net-api
for-xml
morfik

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App