Hi
I just want to read the Device Information Firmware revision string from a known Peripheral on my Central.
I Use the PCA10028 with SDK 12.3 and Softdevice S130 as my central.
I work with the BLE_APP_HRS_C Example.
my Target to read from :
I Can connect to the target but i dont know how to read the Firmware revision string.
8:30:37.170, SDH:DEBUG:sd_ble_enable: RAM start at 0x20003278
8:30:37.170, SDH:WARNING:sd_ble_enable: RAM start should be adjusted to 0x20001eb0
8:30:37.170, SDH:WARNING:RAM size should be adjusted to 0x6150
8:30:37.170, APP:INFO:Heart rate collector example.
8:30:37.170, APP:INFO:Starting scan.
8:30:42.093, APP:INFO:Address match send connect_request.
8:30:42.203, APP:INFO:Connected.
8:30:42.203, BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180a for Connection handle 0
8:30:42.203, BLE_DB_DISC:INFO:Found service UUID 0x180a
8:30:42.417, BLE_DB_DISC:INFO:Discovery of service with UUID 0x180a completed with success for Connection handle 0
8:30:42.417, BLE_BAS_C:DEBUG:Battery Service discovery failure at peer.
8:30:42.417, BLE_DIS_C:DEBUG:>>> ble_dis_on_db_disc_evt
8:30:42.417, BLE_DIS_C:DEBUG:Device Information Service discovered at peer.
8:30:42.417, APP:DEBUG:Device Information Service discovered. Reading Firmware Revision String.
8:30:42.417, BLE_DIS_C:DEBUG:SD Read/Write API returns Success..
8:30:42.417, APP:DEBUG:Enabling Firmare Revision Notification.
8:30:42.527, BLE_DIS_C:DEBUG:Configuring CCCD. CCCD Handle = 49221, Connection Handle = 0
8:30:42.527, BLE_DIS_C:DEBUG:SD Read/Write API returns error. This message sending will be attempted again..
8:30:42.527, APP:INFO:Firmware Revision Read as
8:30:42.527, BLE_DIS_C:DEBUG:SD Read/Write API returns Success..
8:30:42.854, APP:INFO:Connection secured. Role: 2. conn_handle: 0, Procedure: 2
Does someone have an example for me to work it out.
Thanks
Markus