Communicating with OBD through NUS (nRF52832)


Hi everyone, I'm facing an issue while trying to communicate with OBDII using NUS on my central device (nRF52832).

Goal: Communicating with OBD through NUS (UART over BLE). 
Hardware: nRF52832 → OBDII (connected to car simulator ECUsim2000) 
Software: ble_app_uart_c from nRF5_SDK_17.1.0 
 
- I'm able to send commands from nRF52832 to OBDII through NUS.  
- I monitored the OBDII traffic using USB connected to ECUsim2000, proved that 
commands are received by OBDII and results are as expected. 
 
ISSUE:  
- Not able to receive OBDII results back in nRF (due to nRF not being able to discover OBDII service) 
After debugging the software, and testing it with another BLE device (software is working with both 
128bit UUIDs and 16bit UUIDs) 
 


CHANGES I DID IN THE SDK EXAMPLE ble_nus_c.h:
#define NUS_BASE_UUID                   {{0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xEF, 0xFF, 0x00, 0x00}} 
#define BLE_UUID_NUS_SERVICE             0xFFF0
#define BLE_UUID_NUS_RX_CHARACTERISTIC   0xFFF2
#define BLE_UUID_NUS_TX_CHARACTERISTIC   0xFFF1

I also changed the UUID type in main.c:
#define NUS_SERVICE_UUID_TYPE           BLE_UUID_TYPE_BLE
The device finds the OBDII, connect with it, and can send commands to it. However, it’s not 
receiving the OBDII results back in the device due to the “OBDII FFF0 service not found”. 
 
Any help is appreciated. Thanks!