Android Question Serial array

Nickelgrass

Active Member
Licensed User
Longtime User
Hello!

I have read some posts about multiple BlueTooth connections. So far it is all fairly clear how it works. But how would I go about it if I want to make a list of serial connections and asyncstreams where I can add and delete connections without having to predefine the amount (what is the maximum amount?) ? How can the handler of the serial_connected or async_newdata determine which one of the connections raised the event?
I would like to define a type linke "type device (ser as serial, async as asyncstrams, name as string, mac as string, status as int) and then make a list where I can add and delete my "devices" as I need connections.
Thanks!
Regards!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…