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?
Helping with Covid-19
- Jeff Barnes
- Posts: 933
- Joined: Sun Oct 09, 2005 1:05 pm
- Location: Ontario, Canada
- Contact:
- Jeff Barnes
- Posts: 933
- Joined: Sun Oct 09, 2005 1:05 pm
- Location: Ontario, Canada
- Contact:
Re: Helping with Covid-19
I found this but it's for C++
https://social.msdn.microsoft.com/Forums/en-US/bad452cb-4fc2-4a86-9b60-070b43577cc9/is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices?forum=wdk
https://social.msdn.microsoft.com/Forums/en-US/bad452cb-4fc2-4a86-9b60-070b43577cc9/is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices?forum=wdk
Thanks,
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
Re: Helping with Covid-19
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.
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.
- Antonio Linares
- Site Admin
- Posts: 42454
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 20 times
- Been thanked: 58 times
- Contact:
Re: Helping with Covid-19
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
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?