See the code in the starter service. You need to change the device name:
B4X:
Private Sub admin_DeviceFound (Name As String, MacAddress As String)
Log($"Device found: ${Name}"$)
If Name = "HC-05" Then '<-------------------------------------
Log("Trying to connect...")
admin.CancelDiscovery
serial.Connect(MacAddress)
End If
End Sub
See the code in the starter service. You need to change the device name:
B4X:
Private Sub admin_DeviceFound (Name As String, MacAddress As String)
Log($"Device found: ${Name}"$)
If Name = "HC-05" Then '<-------------------------------------
Log("Trying to connect...")
admin.CancelDiscovery
serial.Connect(MacAddress)
End If
End Sub
Yes, it is possible. You can either connect to a different Arduino each time (based on the name) or implement the communication code in a class and create multiple instances of the class, each one with a different name.