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

WPF TreeView context menu is disabled if no items exist
Flipping tile game
Input string is not correct format when trying to sum gridview column value
How to change the label color of an IntField - Unity
how to put row number for report rdlc matrix
Why do I get a build error in a WPF UserControl and its owner Window only at design time?
How to convert dd/MM/yyyy string to MM-dd-YYYY DateTime int C#
Extract certificate name with regex in c#
Quick Info Not Displaying Possible Exceptions for Some Projects
Using JSON Patch to add values to a dictionary
Replace “\” with “\/” in C#
RabbiMQ C# driver Causes System.AccessViolationException
How to prevent .net compiler to strip out classes which are considered as unused?
How improve performance Entity Framework 6
Security implications of displaying files from user-provided paths
Initialization with null-coalescing operator?

Categories

HOME
botframework
itunesconnect
dynamic
magento-1.9.2.1
mailchimp
msbi
perl6
sugarcrm
docker-compose
markdown
elastalert
urllib2
distinct
logstash-configuration
console-application
indri
project-reactor
passbook
bootstrap-datetimepicker
android-wifi
fibonacci
quality-center
pydub
workflow-foundation
r-factor
folder
selenium3
schedule
lines
slim-lang
circle
pyenv
javafxports
border-layout
respect-validation
motherboard
lighting
azure-storage-files
mockserver
mediastream
mixed-models
google-chrome-console
android-graphview
glide-image-library
irr
api-key
text-formatting
appcmd
riemann
jcifs
suitesparse
alarmmanager
racket-student-languages
mongodb-3.3
syslog4j
boost-propertytree
window.location
alchemy
nslocalizedstring
google-app-engine-php
ewam
web-performance
encode
dynamics-nav
random-sample
windows-phone-8-emulator
musicbrainz
xml-simple
page-refresh
backtrace
esri-arc-engine
uiblureffect
formbuilder
javacompiler
nspopupbutton
telerik-appbuilder
xml-validation
8-puzzle
kohana-orm
violation
typography
mandelbrot
pyxplot
panelgrid
bho
boost.build
gssapi
jquery-1.8
gmagick
meego-harmattan
netbeans7.0
arraycollection
nstoolbar
retrospectiva
ffdshow
high-load

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