Home Contents | # rawio:ttnProbe | Rawio | Core4 Lua Event System

## SYNOPSIS

result = handle:ttnProbe()

## DESCRIPTION

Attempt to become the probing host for the TTN network.

On the TTN, one station is responsible to send probes for new stations in regular intervals. Typically, this task falls onto one of the active stations by random. For diagnostic purposes, it could be useful to have one specific station doing the probing.

This command makes the current station attempt to become the probing host. This attempt may fail if another station is currently probing. There is no indication for failure returned. A successful return of this function indicates only that the attempt has been made. Typically, it will succeed. Collisions are rare.

## RETURN VALUE

On success, returns true. On failure, returns nil. In case of an error, the error can be retrieved using rawio:lastError().