spea_mobile_socket_conn

Simple package to connect via wifi to a spea machine.

Getting Started

  • Show main dialog with saved profile list and add profile button:

    Socket socket = await SpeaMobileClient.showProfileList()
    
  • Write String to server:

    socket.write(myString);
    
  • Override handler:

    doneHandler() --> callback when socket close or end suddenly
    
    errorHandler(error) --> callback when errors occur
    
    dataHandler(data) --> callback when a string is received
    
  • IOS setup:

    add this key in ios Info.plist
    
    <key>io.flutter.embedded_views_preview</key>
    <true/>
    

Libraries

spea_mobile_socket_conn