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

Is “Bit rate” property fixed in index 28?
Building manually with MS Build fails at references [closed]
Retrieve value from a hashtable with dynamic key
how to pass basic authentication in webservice?
RedirectToAction with unnamed querystring parameters
How to get the touchUP or release event from a layout on Android with Xamarin C#
Is sharing MetadataType classes a good idea?
Base class Generic and inheritance class .NET
How can I sort mongodb results using LINQ against MongoCollection<T>.AsQueryable()?
How to bind dynamic data?
Inherit SerialPort and manually trigger DataReceived event
Lambda expression - select single object with a IEnumerable<> property
VOID Pointer for C DLL written in CTYPES
How to let the UI refresh during a long running *UI* operation
Controls with the same physical size
Get information from another method in the same class C# Unity3d

Categories

HOME
gulp
http
oop
system-calls
process
file-upload
reference
magento-1.9.2.1
hibernate-mapping
open-search-server
clip-path
yacc
ionic-native
dcos
rename
activejdbc
android-notifications
repeater
appsettings
jsfiddle
k-means
url-parameters
git-branch
serenity-js
klipfolio
gnu-screen
sasl
drombler-fx
multilanguage
login-required
voyager
javafxports
scip
realloc
stochastic-process
jibx
nscollectionview
ngrok
bootstrap-carousel
piranha-cms
qtwebkit
mef
togglebutton
google-chrome-storage
confluent
nao-robot
photoshop-script
jenkins-docker
fckeditor
cc
suitesparse
ownership
computed-properties
mavlink
mongodb-3.3
visual-web-developer
access-violation
class-design
jira-agile
particle-system
hfp
vitamio
clique
cexception
nugetgallery
litedb
photogrammetry
system.diagnostics
asp.net-2.0
wingdb
service-broker
xmla
javadb
rpt
sigma-grid-control
elixir-framework
internet-radio
mixradio
adabas
randomaccessfile
source-depot
exi
cron4j
correctness
ios6-maps
systrace
stl-algorithm
project-files
yii-cactiverecord
session-hijacking
flexbuilder
soapexception
mismatch
cinder
viewdata
authkit
expander
disk-based

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