change control point characteristics

Hi,

My project is to read the value of ADC and advertise live data over BLE.I have referred this Tutorial:1. Introduction — DA145XX Tutorial SDK peripherals (renesas.com) and I was able to successful to read ADC value in a time interval using app_easy_timer.But I got stuck when it came to the advertise live data by changing the value of control point characteristic. When I refer to other tickets all the answers end in change the value of control point characteristics. But I got confused how/where to change the value of control point in user_custs1_impl.c

Thanks

Femilda Philiph

Parents Reply Children
  • Hi Femilda,

    Thank you for the reply.
    On your SmartBond App please press the button to read the Characteristic User Description for the custom characteristics.
    The first Characteristic of the 1st Custom Service is the Control Point Characteristic. And the 3rd Characteristic of the 1st Custom Service is the ADC Value 1 Characteristic.
    If you write any value other than 0x00 on the Control Point Characteristic (and you have enabled the Notifications for the 3rd Characterisitc) then you should be able to see the ADC values being sent on the ADC Value 1 Characteristic automatically.


    Kind Regards,
    OV_Renesas

  • Hi,

    Thanks for your guidance.

    I was able to update the ADC value, but the values were read only on light blueR  not able to change the value of control point characteristics using smartbond app

  • Hi Femilda,

    Thank you for the reply.
    Glad you were able to use the GPADC and update the ADC value on a specific characteristic. 
    It is weird that you are not able to use the project with the SmartBond App because it works as expected on my side. 
    If you found any answer helpful, you can verify it so you can help others in the community as well.
    If you face any other issue, feel free to raise a new ticket.

    Kind Regards,
    OV_Renesas