LORAWAN_Pause

Definition: This function pauses the LoRaWAN stack functionality to allow transceiver (radio) configuration and functionality to be performed. Using "mac pause", radio commands can be generated between a LoRaWAN protocol up-link application and the LoRaWAN protocol receive windows. This function will reply with the time interval in milliseconds that the transceiver can be used without affecting the LoRaWAN functionality.

Syntax

uint32_t LORAWAN_Pause (void);

Input Parameters

<None>

Return Type and Values

Table 1. Return Type

Parameter Name

Parameter Type

Description

Uint32_t

Integer

  • Returns the number in milliseconds representing how much it can be paused without affecting the functionality
  • Returns ‘0’ if it cannot be paused, maximum value when in Idle mode

API Type – Synchronous