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

BLE_UART + BLE PROXIMITY

Hi,

I am in need of merging ble_uart and proximity program.

is there any code already there

I need to sens the data from nrf to mobile and i want to know that the nrf is how far distance i need calculate and if it is soo far  i need alert the nrf and mobile.

is there any better code for it.

the problem i got from proximity is:

1. when i download the program to the DK. it starts advertising 

2. from nrf_tool app; proximity ; i add the device

3. it shows bonded with NRF_Proximity

4. after testing . in my mobile phone ; i have unpair the nrf_proximity device

5. i try to connect with same mobile phone but it shows 133 error . it just pairing and deleting..

why this problem occur.

how to work with bluetooth with button  like   Bluetooth headphone

when i press the button it just one the device and connect with existing pair (if the mobile turns on the bluetooth)

when i long press the button the device will enter into the pair mode and start searching for the device

is there example for this

Related