473,396 Members | 1,995 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,396 software developers and data experts.

Format Data from A & D Scales into mobile Device

Hi,

I have a set of scales with an RS232 interface that I'm trying to read data from via a bluetooth serial dongle (parani SD1000) into an application running on a mobile device (windows mobile 6.1). Everything works fine except the data received has some chars from the extended ASCII set and I am unable to format them to the values sent from the scales.
The scales sends 7 bit even parity data which then passes through the dongle which handles 8 bit no parity data. I've tried all manner of encoding to try and get the correct data into the app but no luck.

The scales sends a 17 byte packet which looks like...ST,+00000.00_kgCrLf what I'm getting back is S??+0000?.96????Cr which is close but no cigar. I've tried all the different encoding formats but none give the correct data.

I have connected the scales to my laptop and used HyperTerm to analyse the data (w/o the parani). At first I was using 8 bit data in HT and the data displayed was not correct but once I change HT to 7 bit data the data was received and displayed correctly. I'm not sure where the problem is. It must be a formatting problem as its just a stream of bits that come from the scales and just pass through the parani and you would think that all is required is the formatting on the CF device.

What am I missing? Any help would be greatly appreciated.
Dec 30 '14 #1
0 1146

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Maya Young | last post by:
Hello Everyone, I'm trying to create a C# application to open a serial port connected to a mobile device and control the mobile through the application where the user can dial the number, send...
0
by: Eddy_w | last post by:
Hello, I try to ping from my mobile device with a wireless connection to my pc. I found the class clsping on the internet and it works perfect with application from pc to pc but when i use it...
1
by: tobesurveyor via AccessMonster.com | last post by:
Hello all, The program I am creating takes certain files found on a Pocket PC and places them on a specific directory on a network drive. It is automated in the transfering of the files, and in...
0
by: AmyHanson | last post by:
I am new to mobile development and am having some trouble sources for the tasks I need to perform. I have been looking around and I can find plenty of information on copying the file initiating on...
2
by: bwilde | last post by:
Hello, I'm just starting to play around with programming using c# for a WM6 mobile device using VS2008 (B2). I created a new c# project for the mobile device, and have been able to get some...
0
by: ELEV | last post by:
I am running a program that uses web services to save data that I am inputting into it. Now everything works fine it can connect just fine and input and output data to the web service from my...
4
by: howa | last post by:
Hello, Any best practice in checking mobile device and re-direct them into mobile page (e.g. wap) ? E.g. User agent, screen size etc.? anything else?
0
by: tthkbw | last post by:
I am writing an application and have the need to open files that exist on an ActiveSync connected Mobile Device (in this case, a PocketPC, could be a SmartPhone). When the mobile device is...
0
by: Kunal100 | last post by:
Hi I am creating an SQL SERVER Based database with a server for a mobile device to push data from the database to the mobile device the database I can create but am having problems in creating the...
0
by: endeavour tech | last post by:
We are trying to develop a c# code through which to detect if any Windows mobile device is connected to a desktop and to which port it is connected. Currently we have a c# code that detects other...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.