getUsbAccessories

suspend fun getUsbAccessories(context: Context): List<StwUsbDevice>?

Call this methode to get the usb accessories in JSON format {"name":"acc1","vendorId":1234,"channelNumber":3}, {"name":"acc2","vendorId":2345","channelNumber":4}, ...

Return

Json content in string format contains list of usb accessories String

Parameters

context

the application context Context