Hello.
I am sending data from the multi-roll BLE module to the central BLE module using Notify.
Currently, only the sample project HRValue is sent.
The data related to transmission is HRValue.
ble_hrs_scan_device_send (& m_hrs, HRValue);
I send it with the above code.
The data when receiving is as follows.
typedef struct
{
uint16_t hr_value; / ** <Heart Rate Value. * /
uint8_t rr_intervals_cnt; / ** <Number of RR intervals. * /
uint16_t rr_intervals [BLE_HRS_C_RR_INTERVALS_MAX_CNT]; / ** <RR intervals. * /
} ble_hrm_t;
I would like to send character string data in addition to HRValue. In that case, is it correct to add character string data to the received data structure?
Please let me know if there is any other way.
Thank you.
SoftDevice: S132
IDE: SES
BLE Device: NRF52832
SDK version: 15.30
Central project: ble_peripheral⇒ble_app_hrs_c
multirole project: experimental⇒ble_app_multirole_lesc