This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey Sai,
Can you clarify this statement?
I uploaded ble_simple _central code in another cc2460r2 . connections are happening but while selecting GATT read request using buttons , adc values are not showing 0x01 only showing.
I believe the default simple_central code will read the first characteristic of SimpleProfile. In this case, you are very likely not requesting the ADC data you expect using Simple_Central and modifications will be required. To start, you will need to perform a full service discovery procedure and find all the characteristics of the peripheral you connect to. Then, you must perform the read request to the the exact characteristic where the peripheral stores this data. This process is much easier on a cell phone where most of this is already done for you.
Hope this helps.
Thanks for your valuable reply.
clarification:
Can you clarify this statement?
I have 2 cc2640r2 boards ,one for central and another for peripheral. I uploaded default simple central code in one board and uploaded modified simple peripheral code as instructed by simplelink academy https://dev.ti.com/tirex/explore/node?node=AGYzpC6aIv4x4yC7xDEtdQ__krol.2c__LATEST to read adc siganl.I am able to read measured adc in cellphone ble app but not able to read in CC2640r2 central board.
yes as you said, i am using default simple_central code.Is there any example simple_central code for my case?
or please guide me how to do that modification.
Thanks in Advance!
Hey Sai,
There is an example of service discovery inside one of our Github examples: simple_serial_socket_client. Please refer to the link project for some guidance.
Additionally, please review our Simplelink Academy module on Custom Profile to familiarize yourself with the GATT table structures.