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

BLE UART on SDK15.3. Long Range connection problem

Hi,

I have the following setup:

- IDE: SES

- SDK: nRF5_SDK_15.3.0_59ac345

- SD: s140_nrf52_6.1.1_softdevice.hex

Issue description:

I have modified "ble_app_uart_c" and "ble_app_uart" examples to support CODED_PHY (i.e. long range) communication coding, but with mixed results.

1. Testing with two PCA10056 (v0.9.2) development kits, central doesn't receive advertisement packets even,

2. Testing peripheral code (based on "ble_app_uart" example) with our custom board, central finds advertisement packets and tries to connect to peripheral, but connection is dropped with code 62.

Couple options for support requests:

1. Please point me to right directions to find an example for modified "ble_app_uart" with long range coding, or 

2. Check the attached projects and src to give me hints and guidance what I am missing in the code? (Pls. see the attachments at the end of the message)

Any help would be highly appreciated!

Regards,

-Tommi Parkkila

Attachements:

1. SRC: ble_uart_peripheral_main.c

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
* Copyright (c) 2014 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2. SRC: ble_uart_central_main.c:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
* Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX