RSS
Sort by » date activity ▼ answers views votes

452 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)

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)

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)

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)

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)

68
views
no
votes
1
answer
Last activity 2017-11-06 11:18:06 +0200 by Jørgen Holmefjord flag of Norway

nrf52832 sensor ADC read example questions.

Hi,

I'm quite a beginner to this whole nrf52832 world and I'm trying to read some data from a flex sensor wired in series with another resistor connected to VCC now I understand the whole ADC init thing ... (more)

69
views
no
votes
1
answer
Last activity 2017-11-04 12:20:12 +0200 by endnode

decreasing range of ble

Hi All,

I am new here. I want to know on how i can decrease the range of ble advertising upto 10m.?

Thanks in advance.

Regards, Khan

93
views
no
votes
1
answer
Last activity 2017-11-03 13:03:52 +0200 by Hung Bui

Can a proxy node also be a controller node?

Can a proxy node also be a client and server node (a controller node)?

What are the key differences between a server and a client in BLE mesh?

Can a server relay a packet to another server, or are only ... (more)

29
views
no
votes
no
answers
Last activity 2017-11-02 16:08:50 +0200 by Flinn92 flag of France

sdk 14.0 ble nus uart example - error

Hello,

I have been playing with sdk 14.0 examples for a while and I wanted to try the Nordic UART ble_app_uart using multiple files (ble init, advertising, sdh separate from main.c) and I have been running into some ... (more)

79
views
no
votes
1
answer
Last activity 2017-11-02 08:59:32 +0200 by daniel

APP_UART_DATA_READY reset nRF52832

Hi, I am a beginner programmer and I have the next problem.

I am working with nRF52832 SDK 12.2 trying to send AT commands to an ESP8266. I send the AT commands byte by byte through UART which I ... (more)

46
views
no
votes
1
answer
Last activity 2017-10-31 11:09:14 +0200 by Jørgen Holmefjord flag of Norway

nRF52832 flash erase problem:cannot erase the third page

Hi,

Now I test flashwrite example using nRF52832 with software version V12.2.0. I want to erase all memory pages with the code bellow:

for(pg_num=0;pg_num<=pg_total_num;pg_num++)
   {
       addr = (uint32_t *)(pg_size * pg_num);  //pg_size=4096 Bytes
       flash_page_erase(addr ...
(more)

55
views
no
votes
1
answer
Last activity 2017-10-31 09:05:04 +0200 by Jørgen Holmefjord flag of Norway

SPI Example Symbol cannot be resolved

I'm trying to set up SPI example from SDK12.3, but I get error at line 53 of main.c

static const nrf_drv_spi_t spi = NRF_DRV_SPI_INSTANCE(SPI_INSTANCE);

It's saying

Symbol "NRF_SPI0" could not be resolved

Symbol "SPI0_TWI0_IRQn" could not ... (more)

46
views
no
votes
1
answer
Last activity 2017-10-31 04:44:39 +0200 by Giang

How to advertise Multi NUS connection

Hi all , I try modify ble_uart_app example for 2 mobile connect via NUS . At BLE_GAP_EVT_CONNECTED event , I modify such as :

    static void on_connected(const ble_gap_evt_t * const p_gap_evt)

{

ret_code_t  err_code;

uint32_t    periph_link_cnt = ble_conn_state_n_peripherals(); 

printf("Connection with link 0x%x established.\r ...
(more)

Statistics

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