This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 ble central application and ios peripheral applicaiton

Dear Nordic,

I am trying to do the following;

  • nrf52840dk will be ble central
  • ios will be peripheral
  • ios will begin to advertise then nrf52840 will connect
  • after connection is established ;
    • nrf52840dk will send "AAAAA"
    • ios will receive "AAAAA" and will respond with "BBBBB"
    • and nrf52840dk will receive "BBBBB"

Can you please advice an example that i can use as a baseline for both central and peripheral ?

Kind Regards
Sami

Parents Reply
  • static uint32_t cccd_configure(uint16_t conn_handle, uint16_t handle_cccd, bool enable)
    {
    NRF_LOG_DEBUG("Configuring CCCD. CCCD Handle = %d, Connection Handle = %d",
    handle_cccd,conn_handle);

    tx_message_t * p_msg;
    uint16_t cccd_val = enable ? BLE_GATT_HVX_NOTIFICATION : 0;

    • enable is true so it is set as notification.
    • i found that i cant sniff it because as i read from devzone blesniffer does not work with pca10056 
    • i will upload ios app shortly

Children
Related