Home  Contents

v4kf.online

V4kf Core4 Lua Event System

SYNOPSIS

  1. rdrhandle.online = function(rdrhandle)
  2. rdrhandle.error = function(rdrhandle, error_code, error_string)

DESCRIPTION

The online() callback is called when the reader changes from offline to being online after initialization.

The error() callback in turn is called when the reader driver detects an event it cannot handle. The reader switches to offline in case of an error.

The value of error_code is a number indicating the error, while error_string provides some human readable description.

SEE ALSO