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 connect bluetooth of nrf51822 with my android phone if i am not using nordic master control pannel

i want to connect the bluetooth of device (nrf51822) to my android phones bluetooth without using master control pannel.i want general bluetooth connection. can you please tell me how can i modify my code for changing id or key of code so that it can connect with my android phones bluetooth. i am doing modification on ble_app_uart code.

Parents Reply
  • You can send data from the nRF51 using the ble_nus_string_send function in the ble_app_uart example

    uint32_t err_code;
    uint8_t data[20];
    sprintf((char *)data, "User-data %d", user_data);
                
    //Send user data to nRF Toolbox app
    err_code = ble_nus_string_send(&m_nus, data, sizeof(data));
    APP_ERROR_CHECK(err_code);
    
Children
No Data
Related