How to get slave-device GATT table?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

===

SDK: 2.1.

Tag: 920737.

app: hello-client and hello-sensor.

===

Problem:

We try to implement multi-slave connections with a master.

But in master side (client), we don't know how to query or get GATT table of one slave device.
Didnt see any query API in hello-client codes, i.e. if we want to get device name or model name
to know which slave device is connected and distinguish from other slave devices, what API we can use for it??

Handle 0x15: characteristic Device Name or model name.

0 Likes
1 Solution
Anonymous
Not applicable

Hi leo_su,

The most recent example of GATT discovery is automation_io_client in the SDK. However, this is point to point.  So you need to take the logic from hello client for multiple connections and merge it in.

-Kevin

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hi leo_su,

The most recent example of GATT discovery is automation_io_client in the SDK. However, this is point to point.  So you need to take the logic from hello client for multiple connections and merge it in.

-Kevin

0 Likes