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

What is the meaning of "application processing" ?

Hello, I use sdk 8.0.0 and s110. I read this blog

And I did not understand some terms;

  1. Application processing(for example 2ms each adv interval)
  2. Number of packets to send in each connection interval(for example 1 packet)

Where and how do we organize these terms? How do we change it?

  • Application processing is the when ARM Coretx-M MCU executes code of your application FW. In other words what you compile into binary and is processed at given interrupt or other trigger.

    Number of packets is linked to mechanism how BLE Link Layer works. If you understand what Connection interval is and that normally (unless packet is lost or one of the sides uses Slave/Master Latency) two PDUs are exchanged (one Master -> Slave and one Slave -> Master) then it should be easy to understand that if both sides are able to execute more than one of such PDU-pair. If any of sides have more then one packet ready before connection event is scheduled and the opposite side reflects on MD bit in PDU header (More Data) then another PDU pair is exchanged until there are no more data o one of the sides have limit within the interval (these are stack and configuration specific).

  • First of all thanks for your informations

    1. How can I get "application processing" values in the blog. More specifically, how to measure "application processing"?

    2. How can I change number of packets ?

    3. Is there any example I can test as code? How does a friend who shares in the blog measure power consumption by changing these values?

    1. How to measure application processing time for your particular FW? That's not obvious, you can try to measure it indirectly by things like power consumption curve or you can try to use some profiler like SEGGER SystemView. In every case it's not so obvious, straight forward and easy as you would probably like.

    2. Your second question isn't very clear, how you can change capabilities of your BLE app on top of Nordic BLE stack aka Soft Device on some of their chips is explained in throughput configuration of each connection link during SD initialization/enabling. Read migration guide attached to your Soft Device, Soft Device specification on Infocenter and various Q&S on this forum. But it's basically in every BLE example in nRF5 SDK.

    (1/2)

    1. There are dozens of examples, it's just question what exactly you want to test. So far you are pretty vague. Power consumption measurements are not discipline which you would get from 200-letter answer on internet forum. You wither are trained in that or not. You can get some introduction when you read Nordic blog posts about how to use Power Profiler Kit (PPK) which might be the easiest way how to measure power profile of some FW on nRF5x chip (with nRF5x DK board).

    (2/2)

  • The purpose is quite simple. I want to implement experimental work done on this blog I can change tx power, advertise interval and payload data bytes. But I'm trying to figure out how the guy who shared the experiment changed "application processing". I'll show you a piece of experiment;

    Advertising 2: TX power: +4dBm adv interval: 1200ms payload: 10 bytes application processing: 2ms each adv interval. Average current consumption: 33,4 uA

    Advertising 3: TX power: +4dBm adv interval: 1200ms payload: 10 bytes application processing: 0ms each adv interval. Average current consumption: 25,7 uA

    I'm trying to figure out how he did it.

    (1/2)

Related