Player APIs (BrightScript & Ja...
...
Object Reference
Networking Objects

roNetworkStatistics

4min
this object allows you to monitor and post how much bandwidth the player is using object creation the ronetworkstatistics object is created with a single parameter createobject("ronetworkstatistics", network interface as integer) the network interface parameter is used to distinguish between the following 0 the ethernet port on the brightsign player 1 the optional internal wi fi ifnetworkstatistics gettotals() as roassociativearray yields the total network figures since booting up getincremental() as roassociativearray yields the total network figures since booting up then, every subsequent time this method is called, it will yield the amount each figure has changed since the previous call if multiple instances of ronetworkstatistics are created, getincremental() calls for each instance will track changes independently both methods return the following statistics as floating point values tx carrier errors tx packets rx packets tx errors rx frame errors tx bytes rx errors tx collisions rx dropped tx compressed rx multicast tx dropped rx fifo errors rx bytes tx fifo errors rx compressed