how to read bluetooth UUID? #3356
Replies: 3 comments
-
|
Posted at 2020-04-30 by @gfwilliams
The device isn't advertising one
You just need to start reading through the documentation on the Espruino site. Here's one I linked for you previously which explains it: https://www.espruino.com/About+Bluetooth+LE
It's the 'raw' Bluetooth data that describes the other fields. You can ignore it.
Literally just google
It's unique to the manufacturer - so you'll have to google it and see if it is described somewhere |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-30 by David1234321 in the manufacturer the number shown is in Decimal ,right ? I read the link - jsut want to be sure also if the 4 digits were "0x2A80" that mean that the service was Age? (according to GATT) , and where was the value of this ? Thanks , |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-05-01 by @gfwilliams It's just normal JSON, so decimal. From that link:
From the 'about bluetooth' page, it's a 128 bit UUID - so you can't just take 16 bits out of it. It's the full thing that is the service name - it's non-standard as you say. A quick google doesn't seem to show anyone's written any code to use it either.
When it's in advertising like this (it can appear in other ways) it means "when you connect, this device has a sensor value", rather than advertising the sensor value to everyone
You'd have to connect first. There are some examples at https://www.espruino.com/About+Bluetooth+LE#connecting-puck-as-central- What I'd suggest is using When you connect you may find a whole bunch more services. What you see being advertised as
If it was just those 4 digits then yes. But when it's the whole 128 but UUID it's not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-04-30 by David1234321
Hello ,
when I scan the bluetooth , I get this message:
for the first devive I see:
why there is no manufacturer number?
and how can I read the services ? what does it mean? can one expalin ?
also , what does "data" mean? how can I understadn what he sending?
for the second device:
is there a list of manufacturers? so number 76 is iphone (for example?)
also what does the manufacturerData mean? how can I understand it?
the reason I'm asking is - I have a blutooth device I want to write for him application , and I want to see how and I can read from it
Thanks ,
Beta Was this translation helpful? Give feedback.
All reactions