FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Helping with Covid-19
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Helping with Covid-19
Posted: Wed Apr 08, 2020 02: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)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Helping with Covid-19
Posted: Wed Apr 08, 2020 03:04 PM
Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 16
Joined: Tue Jun 27, 2017 02:24 PM
Re: Helping with Covid-19
Posted: 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?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Helping with Covid-19
Posted: Wed Apr 08, 2020 10:21 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 16
Joined: Tue Jun 27, 2017 02:24 PM
Re: Helping with Covid-19
Posted: 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?

Continue the discussion