BS2_AllocateContext()
function creates a context that controls and manages the devices. Device management context manages and supervises the network connection status of the connected devices and is responsible of calling the APIs provided by the SDK.
#include "BS_API.h" void* BS2_AllocateContext();
Returns NULL
when there is not enough system memory, if not, returns the allocated Context.