This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to develop an application to read current time characteristics from central device (ios app)

Hi,

Tried to develop an application to read current time characteristics from central device (ios app) by using nrf51822 peripheral device(s110_nrf51822 v7.0.0.). After the setting of the discovered descriptor (p_service->time_stamp_char.handle_cccd = p_desc_resp->handle; p_service->time_stamp_char.des_uuid=p_desc_resp->uuid; ),tried to read characteristics by using sd_ble_gattc_read API. Got BLE_GATTC_EVT_READ_RSP.but there is no more data to read. Then tried by changing the handle of character value to handle of character declaration (msg->req.read_handle =m_service.time_stamp_char.handle_decl;). but got incorrect result....I have attached zipped file of the project with this. Would you test it there.. I am using nRF51822 Evaluation Kit(PCA10001) and keil compiler

Regards,

Sruthi.k.sble_app_time_client_test.zip

Parents
  • So, if I understand you correctly, you want to connect your nRF51822 to an iOS device, and read out the current time information from the iOS device. The iOS device acts as a server, and the nRF51 as a client.

    Can you please provide me details on how the iOS server is configured? I was able to compile and run your code, and discover the services on the nRF51822 from MCP. But I need to know how the iOS server is set up in order for the nRF51822 to discover the services.

    Did you try to read characteristic by UUID? developer.nordicsemi.com/.../a00875.html

  • Hi Stian, I'm very interesting about this application (ble_cts client on nRF51822 and cts server on smart phone). So I ask to you if is there an app for android phone to implement this application and if Nordic has developed a ble_cts service (client) to put it in SDK (ble_services folder). Now I developed a cts service but I can not make it work. Thank, Paolo

Reply
  • Hi Stian, I'm very interesting about this application (ble_cts client on nRF51822 and cts server on smart phone). So I ask to you if is there an app for android phone to implement this application and if Nordic has developed a ble_cts service (client) to put it in SDK (ble_services folder). Now I developed a cts service but I can not make it work. Thank, Paolo

Children
No Data
Related