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 Thread Tools Display Modes
  #91 (permalink)  
Old 01-18-2007, 03:05 AM
Junior Member
 
Join Date: Jan 2007
Location: Spain
Posts: 2
Hi again everybody out there...

Thanks for the reply. It's always is a pleasure to hear someone that knows more than you do about a topic, so you could learn. And I've learned a lot about diabetics and devices like the US on this forum.

I'm not diabetic, at least by the moment, and never have been in contact with this disease... until now. (luckily in my whole family there's no antecedents on diabetes also).

Here's the story why i came into this (if this could interest someone :

The app i'm trying to develop it's not for me, it's for a friend of mine that it's a linux freak and don't want to go to windows to archive his blood glucose levels.
He knows i like to do things with devices like this (i mean, low level programming: C, assembler, microcontrollers and so) and asked me for a little app to do this automatically. As i owe him a couple of favors i couldn't say no. (like "cosa nostra" you know ;-)
Of course he could write down the measure values by hand, but this is not an option for a freak like him
The app will not be very sofisticated: Just retrieve the value of the blood glucose levels, the date and the time of the measure. Nothing else. ( I mean: no pre- post- info, no exercice info, no diet info... That kind of stuff will be introduced by hand on the electronic diary my friend uses).
I think about this app as a home-made prank P.
I've already finded the way date and time is transmited in the US protocol, and the blood glucose levels (at least on the US my friend passed me). I belive this would be enough for me.

Thanks again for the info on this thread, and to shane for replying to my previous post.

BTW: I get a little scared about what is said about the legal staff, so before releasing any of the program source (except to my friend), i'll wait on the evolution of this thread on the forum to see what is commented at that point.

PD: I'm not a native english speaker so please... excuse myself for my spanglish.
Reply With Quote
  #92 (permalink)  
Old 01-18-2007, 02:18 PM
Member
I am a: Type 1
 
Join Date: Feb 2006
Location: Western WA
Posts: 468
Oh heck, your English is great!

I wish you the best of luck with your project, sounds like you are moving right along. I know it really is a nasty little protocol they have developed for it. I think their main reasoning was that the meters could hold so many memory records, they needed to make them as small as possible, and also increase the baud rate so all the contents could be transferred to a PC in a reasonable time. Thats just guessing though.

Welcome to the forums! You might point your friend here too, there's lots of great information and people here. I know it sure changed things for me when I found this forum.
__________________
-Shane
T1 ~11 yrs
Minimed 522 w/ CGMS
Lifescan Ultra2 / BD Logic
Reply With Quote
  #93 (permalink)  
Old 03-02-2007, 11:14 AM
Junior Member
 
Join Date: Jan 2007
Posts: 6
Hi. Any updates in the quest for UltraSmart upload capability?
Reply With Quote
  #94 (permalink)  
Old 03-04-2007, 07:05 AM
Junior Member
I am a: Type 1
 
Join Date: Mar 2007
Location: Germany near Hamburg
Posts: 2
Question

Quote:
Originally Posted by glucolog View Post
Hi. Any updates in the quest for UltraSmart upload capability?
Hi,

I´m a Typ 1 diabetic and I´am writing an diabetic management software. On searching for UltraSmart Data reading I´m finding this site. Very nice forum! Is there any update in the question for data reading from the ultrasmart???

Sorry for my bad school english.
__________________
cu AirJordan
_________________________________
www.diabklick.de
Reply With Quote
  #95 (permalink)  
Old 04-14-2007, 03:36 AM
Member
I am a: Type 1
 
Join Date: Feb 2006
Location: Western WA
Posts: 468
One Touch Ultrasmart support in diabuddies is coming.. soon.
__________________
-Shane
T1 ~11 yrs
Minimed 522 w/ CGMS
Lifescan Ultra2 / BD Logic
Reply With Quote
  #96 (permalink)  
Old 04-17-2007, 10:43 AM
BriOnH's Avatar
Senior Member
I am a: Type 1
 
Join Date: Oct 2005
Location: Sacramento California
Posts: 2,515
Quote:
Originally Posted by condensr View Post
One Touch Ultrasmart support in diabuddies is coming.. soon.
May 14th = one heck of a release . You the man Shane!
-B
__________________
Brian Hartigan
Reply With Quote
  #97 (permalink)  
Old 04-17-2007, 10:55 AM
JediSkipdogg's Avatar
Senior Member
I am a: Type 1
 
Join Date: Sep 2005
Location: Cincinnati, OH
Posts: 8,356
Quote:
Originally Posted by BriOnH View Post
May 14th = one heck of a release . You the man Shane!
-B
The Ultrasmart holds what, 5000 readings? So it will take me how long to upload that? LOL
__________________
●Blue Ash, Ohio Police Dispatcher
●Type 1 diabetic for 25 years (11 months old)
●Animas pumper since December of 2002
~IR 1000 (Dec. 2002-Jan. 2005)
~IR 1200 (Jan. 2005 - ?)
●LifeScan OneTouch UltraSmart

Diabetes is an Art, NOT a Science. You must master the control by skills and not by knowledge alone.
Reply With Quote
  #98 (permalink)  
Old 04-17-2007, 11:10 AM
Dewey's Avatar
Super Moderator
I am a: Type 1
 
Join Date: Jan 2004
Location: Mid-West
Posts: 7,248
Quote:
Originally Posted by JediSkipdogg View Post
The Ultrasmart holds what, 5000 readings? So it will take me how long to upload that? LOL
LOL...It'll probably still take a while, but I think the UltraSmart holds 3,000 readings.
__________________
ALL my love, Carwy & Best wishes for a healthy new beginning!
Saying prayers for him & all our friends, every day.
_______

Dewey's Thought for the day...
"Jesus himself could be president & someone would find a reason to gripe!"
______

Pumps & Meters Used:
MM506,7,8,11 & 12, Cozmo, Animas 1200 & 1250
Many
A1C: 6.4
Type I 26yrs, pumping 12
Reply With Quote
  #99 (permalink)  
Old 04-17-2007, 01:40 PM
Member
I am a: Type 1
 
Join Date: Feb 2006
Location: Western WA
Posts: 468
I've had mine since 2003 (oldest record in it), and stopped using it last fall (when I got my Ultra2) and it has about 2400 readings in it.

The download from the meter takes less than a minute, and the upload to diabuddies shouldn't take too much longer, even on dialup. The meter is downloaded at 38400 baud..
__________________
-Shane
T1 ~11 yrs
Minimed 522 w/ CGMS
Lifescan Ultra2 / BD Logic
Reply With Quote
  #100 (permalink)  
Old 04-18-2007, 07:44 PM
gettingby's Avatar
Senior Member
I am a: Type 1
 
Join Date: May 2004
Location: NC
Posts: 7,261
Quote:
Originally Posted by BriOnH View Post
May 14th = one heck of a release . You the man Shane!
-B
I agree !!!!!!!!!!!!
------------> Shane !!!!!!!!!!!
__________________


Rest In Peace Jack- 5/1/08. You may be gone from us but you will never be forgotten. Our love goes with you.

Always forgive your enemies. They HATE that!

Reply With Quote
  #101 (permalink)  
Old 04-20-2007, 09:01 PM
Junior Member
I am a: Type 2
 
Join Date: Apr 2007
Posts: 26
Take a look at the hex for your readings. I decoded packets from my ultra smart about a year ago but can't remember the actual format. I could take a look one of these days if you like. I was planning on writing a program for dumping the info but got side tracked.
Reply With Quote
  #102 (permalink)  
Old 04-25-2007, 12:47 AM
Junior Member
I am a: Type 2
 
Join Date: Apr 2007
Posts: 26
oops!

Sorry about my last post to this thread. I am new to this site and didn't realize that there was more than the first page of replies to the original post. Anyway it looks like condensr has it figured out now.

I only managed to decode the Record#, timestamp, BG and the flags for control tests and the before and after meals. I never got into the few remaining bytes.
Reply With Quote
  #103 (permalink)  
Old 04-25-2007, 02:48 PM
Member
I am a: Type 1
 
Join Date: Feb 2006
Location: Western WA
Posts: 468
Say..

If you could figure out how to extract the number of records to download from where it is returned (either record 0, or the reply from the HS command I think) that would be invaluable..

Also, for future updates, if you could also help in decoding values for meds entries, you'd be my new hero. What I need is - what byte/bits reflects the med types (e.g. long acting, short acting, pill, etc), what the enumeration values are for the med types, and what byte/bits reflects the med amounts.

I just have not had a lot of time to put in known values to the meter and analyze the packets.
__________________
-Shane
T1 ~11 yrs
Minimed 522 w/ CGMS
Lifescan Ultra2 / BD Logic
Reply With Quote
  #104 (permalink)  
Old 04-25-2007, 03:59 PM
Junior Member
I am a: Type 2
 
Join Date: Apr 2007
Posts: 26
Smile

From what I have seen in the sniff trace, the HR requests keep incrementing their record count until an empty record is returned. I don't have a full meter so I don't know what would happen if there wasn't an empty record at the end.

Is the last byte of the packet a CRC? It doesn't seem to be a checksum. ( unless I am doing something dumb in my calculation of it). Have you been able to generate requests with the right code? Currently I just use the codes I see in the sniff packets when I want to pull records. The trouble is that the OneTouch software complains that there are 5 bad records but I have no way of telling what ones are bad.

As for the meds thing I could look at it if you like. I have a virgin meter here that I can use so I won't have to wade through so much data.
Reply With Quote
  #105 (permalink)  
Old 04-25-2007, 09:22 PM
Member
I am a: Type 1
 
Join Date: Feb 2006
Location: Western WA
Posts: 468
Indeed, the last HR record is indicated by a 7 byte length. Somehow, though, the software is determining in advance how many records there are. I'd like to know it to show accurate download progress.

The evil last byte is a CRC7. Yes, I have code that is downloading all the records from the meter unassisted, and for all BG records, parsing the timestamp and BG value.
__________________
-Shane
T1 ~11 yrs
Minimed 522 w/ CGMS
Lifescan Ultra2 / BD Logic
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


» Log in
User Name:

Password:

Not a member yet?
Register Now!

All times are GMT -7. The time now is 07:53 PM.

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