Helping with Covid-19

Helping with Covid-19

Postby Jeff Barnes » Wed Apr 08, 2020 2:28 pm

Hoping everyone is staying safe....

I have been asked by a few of hospitals in my area if I can develop a software package to help monitor patients.

I would like to do my part and proceed with this however the current oximeters use the new BLE standard and I have never worked with this.

Has anyone out there ever tried and succeeded connecting to a BLE device and read data from them ?
If so, would you be willing to share your code with me so I can do something for these hospitals?
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Helping with Covid-19

Postby Jeff Barnes » Wed Apr 08, 2020 3:04 pm

Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Helping with Covid-19

Postby dhf27 » Wed Apr 08, 2020 10:11 pm

Hi, Bluetooth devices mostly use rs232 protocol to send and receive data. First you need to get this...

https://www.ebay.com/itm/MCU-USB-Serial-Port-Bluetooth-Adapter-HC-06-Master-CP2102-Converter-Module/123800871567?_trkparms=ispr%3D1&hash=item1cd31b628f:g:zAAAAOSwTRFdAgk7&enc=AQAEAAACYBPxNw%2BVj6nta7CKEs3N0qX3SIX4mUbfZGUnLd43LHF7Rs5tDzvT2R9v%2FtUZqCSI68OHpe7bZtjAUFSSo0SJxB3fLIOwt3rnVwh8euIYB00oHGKSALe8SGk2UoHDbdvvPj18rIz%2F3qUiMLdPfQRarlwbtdOcXBzpgBK4AUCGXdo9%2FtzFtRQaaD4GrJNFDT%2Becp59VSZxuqSAhWO5pKFt9AbyhkgCLyvkBe%2Bbi4j3SWgLBpLcYm1Upg1Yd5B6UHYmNeocBfPFMsmuhKJFn4dXRMkYzz9PqiUo70N9tLqj%2BDJdvb9C%2Bz5kzxsdmyLIVB0RzhdSIy4GC8xTsL6fEG0qbnJFwHqaQaiBElk9Xz2p%2FKbM9E5HTchZ6u6cJef9XzWubrHLtKbedoNvZvrjUaFgLasNRRmltpD5oMqLJ6y8lPqfqwI4ydL%2FSqgc0Rmvk0oJmIonEIp53Cj%2BT23UHTMYlwG5bPODxLufvNcAaKvuubhb05DmJG2VlrnHUP%2Bd%2B1H8VUyLdMaW3k%2FM5HkAzV0KUjezm%2B1C6kzFKa9sDWzex9tBd2YYYLLgNOpc6lxDPqicRQ5Z3Rhlpbepqb%2FP5x%2BLiAcZSoPxMHB85mBbOe8uxDAsD6BAdIo%2BMXs9SBO%2B0kjRgtgpn8KQpKtZ0bpxuoXRFroLU1wF7Dfe0y7riI4xpZzbHRXifWOVlAkrOmqnvU6oXZhj3O0uzxaiJssDF%2F81EuUiIOeKcVlfXzdUmGClwy0J%2BqVIup2UtjrqzQtrB49xCLmAU0O1XVY5U2LEL7aoXv62CgjqS%2B9QM96QfE0HgAz3&checksum=12380087156733dda31578c342c9a890d8cd1de31dcc

Then configure it("name/pass" via hyperterminal for example) to connect to you ble device. And then with hbcom send and receive data.
You need to know too the technical data of the protocol your ble device has to understand the format of the data you receive to decode it.

Diego.


Jeff Barnes wrote:Hoping everyone is staying safe....

I have been asked by a few of hospitals in my area if I can develop a software package to help monitor patients.

I would like to do my part and proceed with this however the current oximeters use the new BLE standard and I have never worked with this.

Has anyone out there ever tried and succeeded connecting to a BLE device and read data from them ?
If so, would you be willing to share your code with me so I can do something for these hospitals?
Last edited by dhf27 on Thu Apr 09, 2020 11:27 am, edited 1 time in total.
dhf27
 
Posts: 16
Joined: Tue Jun 27, 2017 2:24 pm

Re: Helping with Covid-19

Postby Antonio Linares » Wed Apr 08, 2020 10:21 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Helping with Covid-19

Postby dhf27 » Wed Apr 08, 2020 10:48 pm

Each oximeter has differents protocol. Mostly have 3 data. Bpm, pi and spo2. Connecting it to a hyperterminal like I said, you can deduce simply how it works. And how is data pattern to decode it. There no exist an universal solution.

Diego

Jeff Barnes wrote:Hoping everyone is staying safe....

I have been asked by a few of hospitals in my area if I can develop a software package to help monitor patients.

I would like to do my part and proceed with this however the current oximeters use the new BLE standard and I have never worked with this.

Has anyone out there ever tried and succeeded connecting to a BLE device and read data from them ?
If so, would you be willing to share your code with me so I can do something for these hospitals?
dhf27
 
Posts: 16
Joined: Tue Jun 27, 2017 2:24 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests