473,394 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Data transfer to portable.

Hi all.

I'm nearing completion of a host app that needs to send data to, and receive
data back from a portable, an HP device. The application running on the
portable will be a .net application.

Basically I need to know the best practice, or most reliable way of sending
and receiving data on a serial connection.

In VB6/EVB I used to use the RAPI commands for sending data, until the 2003
portable OS came out which didn't allow the portable to clear a database.

Do I need to send a text file and parse this into a database created on the
portable? Or can I send a database, or sub set?

Synching the data is not practical for this application, I will want to
overwrite all the data on the portable with every download, and retrieve a
single table from the portable on an upload.

Any ideas?

Cheers,
Tull.
Nov 21 '05 #1
2 1467
Check out www.opennetcf.org

It is a .net class library that allows you to do pretty much anything
dealing with portable devices.

Nov 21 '05 #2
Hi,
I'm nearing completion of a host app that needs to send data to, and receive
data back from a portable, an HP device. The application running on the
portable will be a .net application.

Basically I need to know the best practice, or most reliable way of sending
and receiving data on a serial connection.
<<

I suppose the most reliable way is to use an error-checked file transfer
protocol, such as XMODEM/CRC. Why do you choose serial instead of a network
connection, though? Or, are you saying that you use a serial ActiveSync
connection (since you mention RAPI)? This really isn't serial, except as a
physical connection. Rather, it tunnels TCP/IP through AS.
In VB6/EVB I used to use the RAPI commands for sending data, until the 2003
portable OS came out which didn't allow the portable to clear a database.
<<

I haven't heard of such a problem. Can you elaborate?

Do I need to send a text file and parse this into a database created on the
portable? Or can I send a database, or sub set?

Synching the data is not practical for this application, I will want to
overwrite all the data on the portable with every download, and retrieve a
single table from the portable on an upload.

SQL CE is the easiest, I think. There are other possibilities, such as the
adapters from OpenNETCF (www.opennetcf.org).

Your best bet is to ask specific questions about this sort of thing in
microsoft.public.dotnet.framework.compactframework .

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Simon | last post by:
Hi, I am having a little problem with my PHP - MySQl code, I have two tables (shown below) and I am trying populate a template page with data from both. <disclaimer>Now I would like to say my...
7
by: Chris | last post by:
Here's the situation: I work at a scientific institution and I have a portable electronic device which is used to take measurements. The device produces a very small amount of numerical data,...
2
by: Erik D | last post by:
Hey, Does anyone know if there is something in C that can read the data transfer in the serial/paralel-port? Or can't that be done with C? THX, Erik
2
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
5
by: Alfonso Morra | last post by:
Hi, I am writing a messaging library which will allow me to send a generic message structure with custom "payloads". In many cases, a message must store a non-linear data structure (i.e....
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
9
by: David Harris | last post by:
Ok, so I'm semi-new to .NET, having done everything manually with SQL code back in VB6. So before I program this up completely manually again, I thought I'd ask for better ways to think through...
4
by: Andrew Jackson | last post by:
I am writing a newsgroup client. I have the protocol figured out. But I get slow transfer speeds off any of the network objects read the data from For example one of the commands for a news...
4
by: Dmitry Teslenko | last post by:
Hello! I have some postgresql database that stores binary data (windows/linux executables). Field type I use for this is bytea. Also I have php script that allows users download these binaries via...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.