SwTimerStop

Definition: Stops a running timer. This API stops a running timer with specified timerId - Timer identifier

Syntax

StackRetStatus_t SwTimerStop(uint8_t timerId);

Input Parameters

Table 1. Input Parameter

Parameter Name

Parameter Type

Description

timerId

uint8_t

Timer identifier

Return Type and Values

Table 2. Return Type

Parameter Name

Parameter Type

Description

StackRetStatus_t

ENUM

List of enumerated values for return status

Table 3. Return Values

Return Value

Reason

LORAWAN_SUCCESS

Timer is started successfully

LORAWAN_INVALID_REQUEST

Timer is not running

LORAWAN_INVALID_PARAMETER

Timer ID value is wrong

API Type – Synchronous