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.

CCS/CC2640R2F: Project Zero: Passing a voltage value into a service.

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hello, 

I generated a service (using bluetooth developer studio) called Voltage_Service that is meant for transmitting the voltage value as a characteristic value. The voltage was gathered by using the process in ADC single channel driver example. I attempted to pass the value of ADC0MicroVolt into the parameter using the set_parameter function (the characteristic of which had a length of 4 and the state was uint32_t. 

The voltage_service shows when I connect to it via my IOS device, but whenever I try reading the value the peripheral disconnects. 

Not only that, when I try accessing the other services they do not behave the way that they are supposed to. 

So I guess my question is, what is the proper way to read an analog voltage and then send it over the wave through a service?