Hi,
I am using the following statements for send a string data over BLE.
static uint8_t Name3[BLE_NUS_MAX_DATA_LEN]= "xxxxxxxx";
err_code = ble_nus_string_send(&m_nus, Name3, 20);
if (err_code != NRF_ERROR_INVALID_STATE)
{
APP_ERROR_CHECK(err_code);
}
But I am unable to send integers and floating values. Is there a function where I can send non-string data variables via BLE.
Regards Siva