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
Parameter Name |
Parameter Type |
Description |
---|---|---|
timerId |
uint8_t |
Timer identifier |
Return Type and Values
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
ENUM |
List of enumerated values for return status |
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