There is no any ready .api file for the file osPortConnectivity.c to call from an application directly. Functions in this file is called by the handlers.c (126.0 KB)
file. This file is present in the below folder path of the legato-AF:
You can have look at this file that how the functions in osPortConnectivity.c file is called from handlers.c.
One more way you can try is taking the reference of the functionality of how to get the values for RSSI level, Rat technology, RSSI, Bytes sent, etc,. you can develop your application looking the code of osPortConnectivity.c file.
See that i have attached the sample application helloWorld.zip (15.4 KB)
where i have written an application looking at the functionality from osPortConnectivity.c to get the values for Bytes sent and Bytes received.