Home>
Screen transition after acquiring data via Bluetooth communication I'm currently stuck in university research, and I'm asking for advice.

We are currently developing an app using Swift.
As the content
The content is to send data from the microcomputer using Bluetooth communication, receive the data on the Swift side, and transition the screen according to the received data.
The microcomputer uses the source in Android Studio made by the seniors of the previous year as it is.
I have no plans to mess with Android Studio.

As what I want to hear
1 Is it possible to acquire data created in Android Studio with Swift via Bluetooth communication?
2 Is it possible to acquire data and change the screen with the contents without using buttons etc. for screen transition?

About each source code

As a system flow
The microcomputer acquires data from a certain medium and skips the data put in the array based on the data by Bluetooth. Acquire array data via Bluetooth on a Swift terminal and transition screens.
In other words, the screens displayed for each data are different.

It is possible to change the screen at this timing with self.performsegue, but I want to do that timing after data acquisition.
I'm looking at various teaching materials and online information, but I don't understand Supplementary information (FW/tool version, etc.)

xcode 11.1
Swift 5.1

  • Answer # 1

    I have never actually built a bluetooth app

    1 Is it possible to acquire data created in Android Studio with Swift via Bluetooth communication?

    Since Bluetooth is a standard, I think that the model and OS can be different.

    2 Is it possible to acquire data and change the screen with the contents without using buttons etc. for screen transition?

    I think you can.
    (There is no restriction that screen transitions can only be done with buttons.)

    # Where is it stuck?