Gigaset G-tag battery level

Hi, I would like to read the battery level on the BLE Gigaset G-tag.

I’ve seen that currently I only get id, name, rssi, and distance.

I haven’t found a way to get the 0000180f-0000-1000-8000-00805f9b34fb service (Battery Service) which includes the 00002a19-0000-1000-8000-00805f9b34fb characteristic (Battery Level).

Can I just edit some configuration files or do I have to wait for new code?

Thanks in advance for any response.

Xavier.

2 Likes

Really old thread here. I’m also searching for a solution to get the battery level. Anyone found a solution for this in the meantime?

Hi @127001

{"ble_read_address":"AA:BB:CC:DD:EE:FF","ble_read_service":"180f","ble_read_char":"2a19","value_type":"HEX","immediate":true}

Hope this helps :slight_smile:

1 Like

Thanks @DigiH!

Unfortunately I only got
{"id":"<mac>","service":"0x180f","characteristic":"0x2a19","success":false}

After adding "mac_type":0 the response was:
{"id":"<mac>","service":"0x180f","characteristic":"0x2a19","read":"64","success":true}

But 64 (100) can’t be right. The battery is quite old.

1 Like

Hmm, as "mac_type":0 is the default when not specified it should have worked without it, possibly adding "ttl":4 or so woudl have also been successful without the mac_type with its several attempts.

That’s what it seems to be reporting back though :wink: any possibility to see the battery status in a Gigaset app? Or maybe also have a look at the characteristic with some app like nRFConnect?

Sorry for the delay!

I have now installed nRF Connect but have no idea, what to do with it ;).

Here are the RAW Data of the G-Tag:
LEN TYPE VALUE
2 0x01 0x06
13 0xFF 0x80010215123480AF1AF5BBC5
3 0x02 0x0F18
14 0x09 0x4769676173657420472D746167

Does this help?

There could be a battery service/characteristic shown when connected. But it most likely has the same service/characteristic as used above with the OMG READ command, and the user in the linked issue seems to have the same g-tag model, so 64 hex/100 % might just be correct.

Battery Service
UUID: 0x180F
PRIMARY SERVICE

  Battery Level
  UUID: 0x2A19
  Properties: NOTIFY, READ
  Descriptors:
    Client Characteristic Configuration
    UUID: 0x2902

I’ll wait and see if anything changes.

Thanks for your help!

1 Like