I would like to connect 2 BLE devices simultaneously with unity. For this I copied the demo script and did the same for the canvas. The goal is to connect one device at a time via a canvas. The functions of the canvas I have of course connected to the copied demo script. However, I can now connect to one canvas and also subscribe to it, but as soon as I search for devices in the second canvas, no devices are displayed. Do I have to connect the copied demo script to another cpp script or is there another way to connect two devices at the same time?
I would like to connect 2 BLE devices simultaneously with unity. For this I copied the demo script and did the same for the canvas. The goal is to connect one device at a time via a canvas. The functions of the canvas I have of course connected to the copied demo script. However, I can now connect to one canvas and also subscribe to it, but as soon as I search for devices in the second canvas, no devices are displayed. Do I have to connect the copied demo script to another cpp script or is there another way to connect two devices at the same time?