public static UuidHandler GetDeviceCharastricServiceUuid(BleDeviceHandler handle, int idx) { var ptr = _BlePluginDeviceCharastricServiceUuid(handle.ptr, idx); var uuid = new UuidHandler(ptr); return(uuid); }
public static BleDeviceHandler GetDeviceHandleByAddr(ulong addr) { var ptr = _BlePluginGetDevicePtrByAddr(addr); var handle = new BleDeviceHandler(ptr); return(handle); }
public static BleDeviceHandler GetConnectDevicePtr(int idx) { var ptr = _BlePluginGetConnectDevicePtr(idx); var handle = new BleDeviceHandler(ptr); return(handle); }
public static int GetDeviceCharastricsNum(BleDeviceHandler handle) { return(_BlePluginDeviceCharastricsNum(handle.ptr)); }
public ulong GetDeviceAddr(BleDeviceHandler handle) { return(_BlePluginDeviceGetAddr(handle.ptr)); }
public static bool IsDeviceConnected(BleDeviceHandler handle) { return(_BlePluginIsDeviceConnected(handle.ptr)); }