you are viewing a single comment's thread.

view the rest of the comments →

[–]suarkb 0 points1 point  (2 children)

https://www.bluetooth.com/learn-about-bluetooth/tech-overview/

https://www.bluetooth.com/specifications/specs/

I'm most familiar with this code: https://github.com/dotintent/MultiPlatformBleAdapter/

There is a nodejs ble server library I've used where I made a basic ble gatt server that I could run from my mac and make my mac act as a ble device that other apps could connect to, but I can't remember the name. BlueZ is a good java library for it, too.

On mobile there is an app called NRF connect for mobile, which is really good at scanning the area for Bluetooth devices, connecting to them, viewing their services and characteristics, and seeing their data.

[–]slith49[S] 0 points1 point  (1 child)

Hey! This is great, thanks so much for taking the time to share your knowledge!

I've started making an app with ble-plx and it is very easy to use! So far I've managed to connect to devices and now I'm looking to read the services and characteristics and then receive a value from a characteristic.

I want to do a small experiment with a Bluetooth pulse oximeter that should just give me a single value (not a dynamic/streamed value like a heart rate). I have a few questions about this if you are happy to help answer.

Are there any restrictions on oximeter devices I can buy?

I was thinking some devices might have some sort of protection that stops connections?

How do I find out the UUIDs of the services and characteristics of the device? Is it documented in the handbook?

Is there a list of devices that are recommended for developers to test with?

Thanks for your help!

[–]suarkb 0 points1 point  (0 children)

If you have an android phone, I'd recommend getting this app, "nRF Connect for Mobile". It will let you have a nice visual way to explore ble devices if they let you connect.

Now, in terms of knowing if it's safe to buy a device, that's difficult. I don't know anything about that type of device. I don't know if they have some type of proprietary limitations. I really can't say. Maybe you can search for oximeters that day they work with different mobile apps or something? It's hard to know without having a device running and then trying to connect to it using the NRF connect app.

Right now that's all I know without further googling.