Tool/software:
Hi,
Chipset: CC2340R5
sdk:
Hi I am currently using one CC2340R5 EVK (Central EVK)for development and I am running the EVK in central role, Basic ble sdk is used as a base project.
I am using another CC2340R5 EVK(Peripheral EVK) in peripheral mode, the basic ble sdk code is used as a base project.
I have The gatt table of the evk running in peripheral role using nrf connect and it is attached below. After collecting this info, I disconnect the peripheral device from nRF connect.
Now, using the "Central EVK" I connect to the "Peripheral EVK". After the connection is successful, I initiate a service discovery call as shown below:
I have used the Log_printf function to print the response for the service discovery, and it is as follows:
I have saved the service discovery response in a queue.
Later, I call retrieve the service discovery response from the queue and call the "GATT_DiscAllChars" APIas shown below.
I get a "ATT_READ_BY_GRP_TYPE_RSP" rsp and after parsing, I have printed the contents of " attReadByGrpTypeRsp_t" below.
as you can see, the dataLen field contains a very huge number.
What could be the issue here? I am not able to proceed further due to this, Please help me resolve this.
In addition, I have also added the logic that I have used to parse the "attReadByGrpTypeRsp_t" structure.