In-App Scripting API
This section describes the API provided to the transmit scripts, i.e. the code you write and run inside the Script pane.
// global variables log.Writer* const g_logWriter; // global functions void clearLog(); bool errorcode connect(); void disconnect(); size_t errorcode transmit( void const* p, size_t size = - 1 ); size_t errorcode receive( void* p, size_t size ); void main(); void onLogRecord( uint64_t timestamp, uint64_t recordCode, void const* p, size_t size );