need simple clarifications on a bluetooth connection.
(serial and asyncstream defined and initialized in starter service)
1) should program always close asyncstream when exiting program, or will it still be valid when program is restarted?
2) should program always disconnect serial when exiting program, or will it still be valid when program is restarted?
3) will closing the asyncstream attached to my bluetooth serial connection close the serial streams and require "reconnecting" the serial connection again or can i simply define another asyncstream and reattach?
purpose of question is to determine best/quickest way to continue bluetooth communications with a device once user has initially connected after starting program, user then exits the program, and then a short time later restarts the program.
(serial and asyncstream defined and initialized in starter service)
1) should program always close asyncstream when exiting program, or will it still be valid when program is restarted?
2) should program always disconnect serial when exiting program, or will it still be valid when program is restarted?
3) will closing the asyncstream attached to my bluetooth serial connection close the serial streams and require "reconnecting" the serial connection again or can i simply define another asyncstream and reattach?
purpose of question is to determine best/quickest way to continue bluetooth communications with a device once user has initially connected after starting program, user then exits the program, and then a short time later restarts the program.