Dual role

Thu, 2020-11-12 14:00 -- jojo


As i understand it it's possible to switch role between central and peripheral to scan or advertise, but you can't do both at the same time.

Then I wonder if it's possible in the peripheral role to accept a connection and then switch to central mode and start scanning while keeping the connection from the periperal role alive?

And also the other way around, while in central mode connect to a peripheral device and then switch to periperal role and start advertising while keeping the connection from the central role alive?

BR Johan

How to put variable length data received by serial port in an array?

Thu, 2020-11-12 08:22 -- MrWeng

During serial debugging, I encountered the following problems:
1. How to put the variable length data received by serial port in an array? What should I do to achieve it? This is critical to me.
2. When I am debugging, I continue to execute from the receiving interrupt processing function (uart_rx_isr) to the receiving callback function (uart_read_cb). After the receiving callback function is executed, press F11 to continue execution, and then jump to this function uart_rls_isr, I think Know under what circumstances will trigger this function (uart_rls_isr)?

Broadcaster/Observer role - acknowledge

Sun, 2020-11-08 10:08 -- adam.stroz


I have a small question about Broadcaster/Observer pair. I know that Broadcaster/Observer implement unidirectional communication.

My question is "It is possible to receive acknowledge information from observer to broadcaster?"

My scenario:

I have two devices (sensor as broadcaster and receiver as observer), and I want to transmit some data (e.q temperature data) from sensor to receiver .  And I want to know that the observer (receiver ) has received the information from the sensor (broadcaster), something like acknowledge.

Crystal trim and lld_sleep_compensate_func warning

Thu, 2020-11-05 11:38 -- mbwjr12

Dear Dialog,

After tuning the crystal on my latest batches of boards, I found that I was receiving ASSERT_WARNING in lld_sleep_compensate_func()

    // If this Assertion hits then the LP ISR lasts longer than the time
    // that has been reserved via LP_ISR_TIME_XTAL32_CYCLES and LP_ISR_TIME_USEC.
    if (sleep_lp_cycles && (sleep_lp_cycles < slp_period))


Subscribe to RSS - DA14531