RSS
Sort by » date activity ▼ answers views votes

620 questions

Tagged
  • x
19
views
no
votes
1
answer
Last activity 2017-11-18 09:38:26 +0200 by endnode

How to know which physical device is disconnected in disconnect event?

Here the connect method is called

err_code = 
    sd_ble_gap_connect(
        peer_addr, 
        &m_scan_params, 
        &m_connection_param, 
        APP_BLE_CONN_CFG_TAG);

In the ble event handler there is the event BLE_GAP_EVT_DISCONNECTED

static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{

    // ... other events

    case BLE_GAP_EVT_DISCONNECTED:
    {
        NRF_LOG_INFO("LBS central link 0x%x ...
(more)

29
views
no
votes
1
answer
Last activity 2017-11-18 09:33:11 +0200 by endnode

How to map a gap event to a physical device?

What unique information can I use to know which physical device disconnected for example? Say I have a MAC address or a name encoded into the advertising packet. Correct me if I'm wrong, but connection handles are created after ... (more)

23
views
no
votes
1
answer
Last activity 2017-11-17 17:01:42 +0200 by akash

Eclipse version

Hi, I recently purchased nrf52 development board for debugging nRF52832. I was following your tutorial "Development with GCC and Eclipse" and it is not working for me. Can you tell me the version of eclipse you used in the tutorial ... (more)

19
views
no
votes
no
answers
Last activity 2017-11-16 23:57:07 +0100 by MichaelNordicUser

Why status code BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED ?

I'm tring to connect my phone to the multi-connect example client app

I'm tracing the ble events in the ble_evt_handler.

When I open the server app on my phone, I see this in my RTT

BLE_GAP_EVT_CONNECTED
BLE_GAP_EVT_DISCONNECTED
BLE_GAP_EVT_CONNECTED ...
(more)

25
views
no
votes
1
answer
Last activity 2017-11-16 21:55:15 +0100 by RK flag of Singapore

ble_gatts_service_add error code 0x0000000c

Hello, I am trying to set my own BLE service, and on the adverstisement initialization I get an error 0x0000000c when calling to ble_advertising_init().

Why does it mean and happen? How can I fix it?

Thanks in advance

My uuids ... (more)

13
views
no
votes
no
answers
Last activity 2017-11-16 08:52:43 +0200 by Hrushi

How to write sensor values into Tx characteristic of NUS service?

Hello All,

I want to write the peripheral code which will send sensor reading to central.

For that I started looking into the Uart_Nus peripheral code from SDK. I tried to write some hard coded values using ble_nus_send_string() function but ... (more)

16
views
no
votes
1
answer
Last activity 2017-11-15 12:55:34 +0200 by Hung Bui

NRF board don't init ble_uart_app example

Hi, I am testing with ble_app_uart . my board will advertising to my phone . I realize that if I don't connect 2 pin uart on NRF board to USB TO COM to my PC . Then , my board don't init ... (more)

25
views
no
votes
1
answer
Last activity 2017-11-15 11:34:50 +0200 by Sigurd flag of Norway

Linker error Error[Lt009]: Inconsistent wchar_t size

Hi! I have download nRF5_SDK_14.1.0, and I have IAR Embedded Workbench IDE ARM 8.20.1

I want compile ble_app_eddystone.eww from examples, but have error:

Error[Lt009]: Inconsistent wchar_t size occ_lib_occ_curve25519.c.o(occ_lib_nrf52_iar.a) and 4 ...

(more)

16
views
no
votes
no
answers
Last activity 2017-11-15 06:38:26 +0200 by Giang

Setup parameter for multi connection via NUS

Hi all , I completed connect 1 peripheral board to 2 central board via NUS . But when I increase NRF_SDH_BLE_PERIPHERAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT to 3 connection . peripheral board don't work , don't advertising . Pls , show me a advice . I config NRF_SDH_BLE_GATT_MAX_MTU_SIZE ... (more)

32
views
no
votes
no
answers
Last activity 2017-11-14 18:32:59 +0200 by homeslashbjrn

CDT Build Output Parser Eclipse + SDK 14.1.0 (ble_app_tt_mtu_throughput)

Hello,

I am currently experimenting with some throughput tests on nRF52832/nRF52840 DKs. Some time ago I worked with some BLE UART examples from SDK 13.0 with the help of Eclipse. Everything worked fine after going through this tutorial ... (more)

62
views
no
votes
1
answer
Last activity 2017-11-14 13:38:41 +0200 by Bjørn Kvaale

How to measure battery life time

Hi,

We have devloped PCB based on nrf52832 as beacon.

We have also developed firmware for that and it will advertise for some and than go to sleep mode and after some time it again advertise(To save battery consumption ... (more)

36
views
4
votes
1
answer
Last activity 2017-11-10 08:47:09 +0200 by Rahul

how to boot another board

image descriptionhello,

i have developed one board using nRF52832-QFAA and trying to dump simple LED blinking code in it using nRF52 DK board. But code is always dumping into custom board not in my board. i am using P20 connector to ... (more)

33
views
no
votes
no
answers
Last activity 2017-11-09 21:50:38 +0200 by MichaelNordicUser

Cannot step past second instruction in disassembly window

When I run the UART app nRF5_SDK_12.3.0_d7731ad\examples\peripheral\uart in debug mode, the disassembly window opens, and I seem to get stuck on the second instruction. Step over doesn't step past the second instruction. Why is ... (more)

74
views
1
vote
1
answer
Last activity 2017-11-09 12:50:40 +0200 by Bjørn Kvaale

Discovery of Battery service

Hi,

I want to use battery service in my beacon for that i have tried two examples of sdk14 on nrf52 dk

1)ble_app_hrs

2)ble_app_proximity

in first example ble_app_hrs values decrease 100% to 99% then 98%.....till 81% then ... (more)

41
views
no
votes
no
answers
Last activity 2017-11-08 18:37:27 +0200 by ArtemKa

custom 128-bit UUID for advertise

Hi! I try to send data using advertise PDU and I need use custom 128 UUID. How to convert to right format service_128_uuid and replace 16-bit value to init.advdata.p_service_data_array->service_uuid?

static void advertising_init(void)
{
 uint32_t               err_code;
 ble_advertising_init_t init ...
(more)

107
views
5
votes
2
answers
Last activity 2017-11-08 16:54:11 +0200 by Jørgen Holmefjord flag of Norway

Transferring data received over ble to sd card

Hi All,

I am working on pca10040, nrf52832 and s132. I am using ble_app_uart and sd card, where i want to transmit data received over ble to the sd card.

Can you help me with how can i do so ... (more)

32
views
no
votes
1
answer
Last activity 2017-11-08 15:11:08 +0200 by samer

running arm-none-eabi-dgb on nRF52 with soft device

Hi,

I'm trying to run the gdb on the nRF52 with softdevice s132 and in the begining it runs ok but after some time when I run (gdb) list I get: "Line number 435 out of range; main.c ... (more)

104
views
no
votes
1
answer
Last activity 2017-11-08 14:25:50 +0200 by Hung Bui

Time_stamping_value?

Hi Nordic Devzone,

First i want to make sure that if the clock being used by softdevice is the LFCLK (32kHz) and its counter register is 24bits ? and which prescaler is being used? because I want to send the local ... (more)

30
views
no
votes
no
answers
Last activity 2017-11-08 14:00:05 +0200 by Aurabindo

nrf52832 hardfault in ble_advertising, sdk 14.0

Hi,

Once the main hardware init part is done, system idles for a while and then I get a hardfault (APP_ERROR_CHECK returns fatal)

I reset the chip, and asked it to continue. When I got "Fatal" in the log window ... (more)

55
views
no
votes
1
answer
Last activity 2017-11-08 12:57:22 +0200 by Petter Myhre flag of Norway

Disconnected continuously for multi NUS

Hi all , I am trying connect central board NRF52 with 2 peripheral board NRF52 . I modified main.c in ble_app_uart_c , my main.c at http://codepad.org/5ZHg5P0R . 2 board peripheral use ble_app_uart original . When I test code for central ... (more)

30
views
3
votes
1
answer
Last activity 2017-11-08 06:54:43 +0200 by Sorrow91

Using NUS/CTS/BAS together

Hey guys,

I'm using the SDK 14.0 on my nRF52832 with the SoftDevice 132, my IDE is Keil.

And I merged the ble_app_uart example with the ble_app_cts_c example and the ble_app_proximity example from the SDK.

If I start ... (more)

45
views
2
votes
1
answer
Last activity 2017-11-07 22:37:50 +0200 by John DeWitt flag of United States

Integrating DTM functionality into an app with softdevice

Hello, I am investigating the possibility of integrating the DTM functionality into our app (which uses the softdevice) to allow us to use a single image for production testing and deployment. What I am hoping to achieve is to allow ... (more)

27
views
no
votes
no
answers
Last activity 2017-11-07 17:08:59 +0200 by ndarkness

Connection event length extension and out of range issue

Hello,

I have set my softdevice s132v3 with SDK12.2 and nrf52832 to use connection event length extension and data length extende with connection parameters as shown below.I am using only one link central-to-peripherial, both Nordic nrf52 devices.

Once ... (more)

65
views
no
votes
2
answers
Last activity 2017-11-07 15:29:37 +0200 by Coz

nrf_fstorage_erase returns invalid address error

Hello,

I've been working on the ble_multilink example and managed to combine that with the ble_hrs_c example to connect to multiple heart rate units and receive the data through UART. Instead of searching for specific pre-defined UUIDs I would ... (more)

40
views
no
votes
1
answer
Last activity 2017-11-07 11:05:44 +0200 by endnode

Auto unlock with iOS

Hi, i am actually working on a smart lock and i want to implement an Automatic Unlock. This functionnality can be really useful, because the door unlock even if your smartphone is in your pocket.

On my smart lock, using ... (more)

17
views
no
votes
no
answers
Last activity 2017-11-06 23:42:46 +0100 by Ed

NRF_ESB_CREATE_PAYLOAD() syntax error in sdk v14.1

Using GCC compiler with Eclipse, sdk v14.1, nRF52832, in ESB protocol mode.

The code compiles and builds just fine, all links are ok, but the code below issues a syntax error message in Eclipse with no further information. I ... (more)

196
views
no
votes
1
answer
Last activity 2017-11-06 16:49:41 +0200 by Joakim Jakobsen flag of Norway

What is system on mode

Hello, I used translation software.

I enter system on mode from the power_manage of the function.

But I do not understand system on mode.

In the system on mode is it a mode that transitions to low power consumption with ... (more)

59
views
no
votes
no
answers
Last activity 2017-11-06 15:35:24 +0200 by Hung Bui

mesh examples not working

Hello i am using segger studio i have recently purchased three nrf52dk speically for ble mesh.. i am trying to run examples of mesh alpha sdk that nordiac prvodies but it has some errors ...

<t:          0>, main.c,  139, ----- Bluetooth ...
(more)

83
views
1
vote
1
answer
Last activity 2017-11-06 13:18:52 +0200 by Jørn flag of Norway

Problems with NRF_LOG or not full output in RTT Viewer.

Hi to everyone!

I have a problem with the NRF_LOG or with RTT Viewer. I wrote this simple code, just to test an output console.

int i = 0;

while (i< 100)
{
    NRF_LOG_INFO("%i", i);
    NRF_LOG_FLUSH();
    i++;
}

But, when I execute ... (more)

76
views
1
vote
2
answers
Last activity 2017-11-06 12:49:31 +0200 by Joakim Jakobsen flag of Norway

Sending number over ble with ble_nus_string_send

Hi! Can anyone help me send values of temperature over ble? I tried and it appears like this,Capturar.PNG.

I'm using the code on the examples, ble_peripheral\ble_app_uart and ble_central\ble_app_uart, to comunicate over ble and changed this ... (more)

Statistics

  • Total users: 25335
  • Latest user: Rose Finlay
  • Resolved questions: 10977
  • Unanswered questions: 3687
  • Total questions: 27077