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

experimental_ble_app_uart on nRF51-dk

Hello there,

I am using the experimental_ble_app_uart with S110 on nRF51-dk and receiving sensor data via 1MHz SPI every time the timer ticks = 100ms. Data transfer displayed on nRF Toolbox works fine but when I disconnect the application and trying to connect back again to the dev kit I receive an error shown on image below. It can be seen that the system returns an error after 20 second which I could not reference to and I suppose it is either a soft device timer or application.

Could you please explain what is going on and why the connection cannot be instantiated again after disconnection? After the error message appears I am able to connect to the dev kit again on the first time however it just seems like that after disconnecting the dev kit doesn't advertise again only until the error where the state is updated and advertising allowed again.

image description

I also include the time stamp image of data transfer where I am wondering that what is causing the discrepancy of 100ms timer? (APP_TIMER_TICKS(100, APP_TIMER_PRESCALER) In some cases it is too far from 100ms.

Many thanks

Milan

image description

Related