Page 1 of 1

Dynamic GATT on newly advertised devices

Posted: Fri Apr 03, 2020 7:35 pm
by LieBieS
Hi All,

Please could you assist in trying to report out the battery level of my iBeacon.
I have the my program scanning for devices. It is able to detect if there is a UUID available, but don't know how to access the characteristic of the newly discovered device.
Please someone point me in the right direction. I have found an article on CircuitDigest that simulate the battery level. But they use a hard-coded UUID.
Any assistance will be greatly appreciated.

Re: Dynamic GATT on newly advertised devices

Posted: Sat Apr 04, 2020 9:31 pm
by chegewara
You have to connect to device, then search for services and characteristics before you can read characteristic.

Re: Dynamic GATT on newly advertised devices

Posted: Sun Apr 05, 2020 8:44 am
by LieBieS
Thanks Chegewara. I will try the connection to the unit and attempt to read the characteristics and services. Will keep you posted.