Hi,
i am working on a custom board with nRF51422. I can program this board with the nRF51-DK. I use ADC and a temperature sensor via I2C. Everything work well but actually I send the ADC value then 1 second later I send temperature value. I use sprintf and ble_nus_send for both like you can see on my code below :
sprintf((char*)adc_value, "ADC : %.2f V", (float)voltage_value);
ble_nus_string_send(&m_nus, adc_value, strlen((char*)adc_value));
sprintf((char*)temp_value, "Temp : %.2f C", temp);
ble_nus_string_send(&m_nus, temp_value, strlen((char*)temp_value));
So I would like to know if it is possible to send that 2 values on the same line, use only one send for the two data. Because it could help me for my future android app.
I am using SDK 10.0.0
Thanks.