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

Using directed advertising to communicate between ble_app_uart on nRF52DK and ble_lte_gateway on nRF9160DK

Hello,

I want to use the Nordic UART service from the ble_app_uart example in SDK 17.0.2 (running on nRF52DK) to use directed advertising to send data to a 9160DK client running the lte_ble_gateway sample (SDK 1.6.0).  I want the nRF52DK running the modified ble_app_uart example to automatically connect to the 9160DK through directed advertising, then transmit data with the UART service.  I used the ble_app_hids_mouse example for its advertising init function as well as its adv_evt handler.  This led to two main questions:

1) Where do I find the UUID for the 9160DK to give to the nRF52DK so that it knows what UUID to accept for directed advertising?  And how do I put this UUID into the modified ble_app_uart program?

2) Do I need to give the nRF52DK UUID to the 9160DK as well?  I've only found service UUID and characteristic UUID for the ble_app_uart application, but from my understanding I need to give the 9160DK the device UUID.  Where does this come from?

Related