User's Manual

Table Of Contents
4-44 Millennial Net
Using the MeshScape API
Functions
1. ibApi_GetStatisticData
ibApi_FUNC ibApi_GetStatisticData(
ibApi_APIHANDLE api_hdl,
ibApi_DEVICEID device_id,
ibApi_PFM_STATS *statisticData);
This function retrieves the statistical data for the given device.
Parameters:
api_hdl: (input) API handle returned from ibApi_Open().
device_id: (input) the ID of the device to be accessed.
device_id: (output) the statistic data of the device.
Return Value:
An ibApi_RESULT_SUCCESS if successful, or an error code (<0) if not.