Diabetes Forums » General » Diabuddies » OneTouch UltraSmart Communication via RS232


Welcome to Diabetes Forums!

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Reply
OneTouch UltraSmart Communication via RS232 LinkBack (4) Thread Tools Display Modes
  #166 (permalink)  
Old 06-21-2008, 05:05 PM
Junior Member
I am a: Type 1
 
Join Date: May 2008
Posts: 4
Quote:
Originally Posted by Mica View Post
Anja,

thanks for your offer. Well, to begin with, is there an equivalent for the OTU2 '?' parity error mark? And where is the number of available records stored?
It does not store the number of records. Correct me, if I am wrong but isn't that known in this thread since April 2007?

Regards, Anja
Reply With Quote
  #167 (permalink)  
Old 06-30-2008, 08:14 AM
Junior Member
I am a: Type 1
 
Join Date: Jun 2008
Posts: 2
Quote:
Originally Posted by Mica View Post
BTW, I'm nearly fiinished with the interpretation of the OTUS protocol, only a few items like the 'invalid sample' flag are missing due to the lack of representative data. Is it allowed to upload a Windows binary (500k .zip file) to this forum that downloads OTUS data and stores them on disk in XML format? I have to admit, it still is in an early stage of development.
Do you have a Schema or DTD for that? I just scribbled a few notes about an XML Format I want to convert my existing data to. Nothing is really settled and I have no Schema yet. Would not like to duplicate effort and be needlessly incompatible - would you share yours?

regards
breschdlingsgsaelz
Reply With Quote
  #168 (permalink)  
Old 10-29-2008, 09:36 PM
Junior Member
 
Join Date: Sep 2008
Posts: 1
Got Execise and Food Entries working

Sorry to raise a dead post.
But i have gotten food and exercise uploads working for the one touch ultra smart downloader from this post:

OneTouch UltraSmart Communication via RS232

Also i made some changes so that the libarary could be run in mono.
Attached Files
File Type: zip OneTouchLib.zip (41.3 KB, 50 views)
Reply With Quote
  #169 (permalink)  
Old 01-02-2009, 12:21 PM
Junior Member
 
Join Date: Jan 2009
Posts: 1
Digging deeper into this thread. I just purchased an Ultra2 after owning a bunch of Ultras for years. I have had a C program capable of talking to the Ultra's for a long time, and have been very happy, but the same app doesn't talk to the Ultra2. I've gotten the OneTouchLib going, but it can't communicate with the Ultra2. Is there something I'm missing here?
Reply With Quote
  #170 (permalink)  
Old 01-02-2009, 03:37 PM
Junior Member
I am a: Type 1
 
Join Date: May 2008
Posts: 4
Quote:
Originally Posted by pbuelow View Post
Is there something I'm missing here?
Yes: Ultra and Ultra2 have different communication protocolls.
A while ago the ultra2 commspecs were available at the lifescan HP. I donÄt know, if they still are... maybe it wasn't .com but .uk....
Reply With Quote
  #171 (permalink)  
Old 02-05-2009, 08:13 PM
Junior Member
 
Join Date: Jul 2008
Posts: 1
We created a web project to start a glucose tracking site, but the economics didn't work out so here is the code for the community licensed under GPLv2 or later. File attached contains code for reading Ultra2 and UltraSmart meters. For questions, please direct them to me via email.
Attached Files
File Type: zip Client.zip (90.2 KB, 66 views)
Reply With Quote
  #172 (permalink)  
Old 02-05-2009, 08:32 PM
JasonJayhawk's Avatar
Senior Member
 
Join Date: Jul 2004
Location: MIdwest, USA
Posts: 1,070
Beautiful code. I am extremely impressed! You might also consider putting it up on SourceForge!
Great use of the Boost library!
__________________
Reply With Quote
  #173 (permalink)  
Old 06-01-2009, 01:55 PM
Junior Member
I am a: Type 2
 
Join Date: Jun 2009
Location: El Cerrito, California
Posts: 2
Quote:
Originally Posted by lar3ry View Post
I ended up hanging the logic analyzer on it, and figured it out. They lied about the contents of a packet. They also don't tell about all the message types (like "clear meter"). I am using SniffUSB to figure them out.
Hi,
I just joined today. My Ultra2 "Wakes up" using this, on the next line cut and paste?)
?
(...it is the ascii chars 17 and 68, which is translated from hex 11 0d)
Reply With Quote
  #174 (permalink)  
Old 06-19-2009, 07:46 PM
Junior Member
I am a: Type 2
 
Join Date: Jun 2009
Location: El Cerrito, California
Posts: 2
The LifeScan Ultra2 glucose meter
command DMF, (which sends the meter's
date and time from the meter's clock)
can be provided to the meter from the
pre-stored User Command in terminal
emulation program Uv/Term.

The following is an HEX string
110d0a444d46
translated to serial ascii chars
(note that it is then on two rows!) :


DMF

comprises [DC1][CR] acknowledgement command
and the LifeScan Ultra2 meter command "DMF" in caps.

Rather than sending it in a file
through the com port cable, a "prestored"
version of this may be assigned to a
"User Button" in Uv/Term thusly:

^mDMF^m

where "^m" is Uv/Term for "Control M", [cr/lf].
I open a capture file, choose a command button
for one of the commands -

DM?
DM@
DMF
DMP
DMSU?
DMST?

then close the capture file when meter is done.
While this works for me, YMMV.

Here is a sample capture file:



DM?
?P02.00.00 11/02/05 03B4

DMF
F "FRI","06/19/09","17:15:52 " 060B

DMP
P 486,"WDZ2547AY","MG/DL " 05C6
P "FRI","06/19/09","14:03:18 "," 115 ","A","00", 00 09A5
P "SUN","06/14/09","14:03:15 "," 116 ","N","00", 00 09C0
P "THU","06/11/09","12:10:50 "," 086 ","B","11", 00 09AF
P "SUN","06/07/09","16:15:27 "," 103 ","A","01", 00 09BA
P "THU","06/04/09","15:26:30 "," 106 ","A","01", 00 09B0
P "SUN","05/31/09","18:53:37 "," 140 ","B","11", 00 09BE
P "WED","05/27/09","07:43:51 "," 133 ","B","00", 00 09A6
P "TUE","05/26/09","15:16:24 "," 100 ","N","00", 00 09B8
P "TUE","05/12/09","18:39:42 "," 078 ","B","07", 00 09C4
P "THU","05/07/09","08:26:05 "," 132 ","B","11", 00 09B7
P "MON","05/04/09","16:22:10 "," 112 ","N","00", 00 09AC
P "THU","04/30/09","10:47:15 "," 099 ","A","07", 00 09BF
P "SAT","04/25/09","00:39:28 "," 111 ","A","07", 00 09AF
Reply With Quote
  #175 (permalink)  
Old 08-21-2009, 02:18 AM
Junior Member
 
Join Date: Aug 2009
Posts: 4
I'm trying to connect to a Lifescan Ultra Easy using HyperTerminal but haven't been able to get very far yet. Can anyone tell me what I need to do to 'wake it up' and display the 'PC' message on the display?

I did find this PDF on Lifescans website which details the Ultra Mini and Ultra Easy protocols. It also gives a C algorithm for generating the CRC

Ultra Mini/ Ultra Easy Protocol & CRC Algorithm

NiVZ
Reply With Quote
  #176 (permalink)  
Old 08-21-2009, 05:40 AM
Junior Member
 
Join Date: Aug 2009
Posts: 4
Also found this great easy to use Serial Port viewer:

Free Serial Port Monitor RS232 Communication Software Data Sniffer Analyzer

NiVZ
Reply With Quote
  #177 (permalink)  
Old 08-24-2009, 03:57 AM
Junior Member
 
Join Date: Aug 2009
Posts: 1
Quote:
Originally Posted by CompotatoJ View Post
If anyone can think of a good name for my Diabetes management software, I'd love to know.
How about Langerhans?
Reply With Quote
  #178 (permalink)  
Old 08-26-2009, 04:03 AM
Junior Member
 
Join Date: Aug 2009
Posts: 4
Making progress.

Writing a program instead of using hyperterminal and can now get the meter to display 'PC', read Software Version, Serial Number and the count of how many BG readings are stored.

Just need to loop through and read all the individual BG readings now.

NiVZ
Reply With Quote
  #179 (permalink)  
Old 10-29-2009, 07:14 AM
Junior Member
 
Join Date: Aug 2009
Posts: 4
Hello,

Got the Ultra Easy all figured out and can now download my data, date time and BG.

I've been looking again at the Ultra Smart and have figured out the date (took a while to realise it uses minutes since Jan 1st 2000 instead of seconds since Jan 1st 1970)

But I'm struggling with the BG's on the Ultra Smart. I know it's the next two bytes after the date and I can get some of them to work out properly, but I had a few low readings that I can't get to calculate properly.

Can someone point me in the right direction?

Really wish Lifescan would release the specs for it like they do with all their other meters.

Thanks,

NiVZ
Reply With Quote

Reply


Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.diabetesforums.com/forum/diabuddies/12411-onetouch-ultrasmart-communication-via.html
Posted By For Type Date
delicious5's Bookmarks on Delicious This thread Refback 06-22-2009 01:59 PM
onetouch ultraeasy | BoardReader This thread Refback 07-04-2008 01:59 PM
Admo.net TechSearch - diabetes: diabetes management system Page #0 This thread Refback 11-03-2007 07:43 PM
Admo.net TechSearch - diabetes: diabetes care products Page #0 Post #64 Refback 11-03-2007 07:41 PM

» Log in
User Name:

Password:

Not a member yet?
Register Now!

All times are GMT -7. The time now is 01:19 AM.

For Advertising:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33