PyScore’s output script

*** PRELIMINARY ***

Description

The output script runs every time some data have been fetched from a NFC card or a BLE token, and is ready to be forwarded to the host. This script is a kind of ‘hook’ the developer may use to alter the output format.

Example

from springcore import *
from utils import *

if !springcore.isReader() || (springcore.getReaderEvent() != springcore.READER_EVENT_OUTPUT):
	raise Exception("Script invocation error")
    
# TODO