Home  Contents

rawio:ttnBuzz

Rawio Core4 Lua Event System

SYNOPSIS

result = handle:ttnBuzz(tid)

DESCRIPTION

Sends a buzz command to a TTN node at ID tid.

The buzz command instructs the device to cause some attention grabbing activity.

The reaction is device dependent. A buzzer could give an audible signal, some LEDs will flash, a drum roll, etc…

The idea is to have a way to find a specific device among several similar devices.

RETURN VALUE

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