This section describes the processor availability and interrupt processing time for the SoftDevice in a peripheral connection event.
Figure 1. Peripheral connection events (some priority levels left out for clarity)
In a peripheral connection event, the pattern of SoftDevice processing activity at interrupt priority level 0 is typically as follows:
- An interrupt (Radio prepare) sets up and prepares the software and hardware for the connection event.
- When the reception is complete, there is a radio processing interrupt that processes the received packet and switches the Radio to transmission.
- When the transmission is complete, there is either a radio processing interrupt that switches the Radio back to reception (and possibly a new transmission after that), or the event ends with post processing.
- After the radio and post processing in priority level 0, the SoftDevice processes any received data packets, executes any Generic Attribute Protocol (GATT), Attribute Protocol (ATT), or Security Manager Protocol (SMP) operations, and generates events to the application as required in priority level 4. The interrupt at this priority level is therefore highly variable based on the stack operations executed.