Giter Club home page Giter Club logo

iphone-chat-client's Introduction

iPhone Chat Client

This App will connect to the ESP32 Chat Server running on the local network. It will use mDNS to locate it and then connect and open a socket through which it will send text typed at the prompt to and the ESP32 ChatServer and will receive text from the ESP32 ChatServer that is sent to it from other instances of the ChatClient. If you only have iPhone device you can use the Chat Client from Chat Client and Server with Libevent to test. The ChatClient from Chat Client and Server with Libevent does not incorporate mDNS so you will need to get the ip address of the ESP32 ChatServer from the terminal and input it on the command line when launching the Windows/Linux ChatClient. This Android ChatClient app cannot be used with the Windows/Linux ChatServer as the server does not incorporate mDNS.

This project was created mainly for me to learn how to communicate with an ESP32 via WiFi from an Android device and to locate it using mDNS and I thought that it may be useful to someone else out there. This app is fairly simple but demonstrates how to locate the device using mDNS and open a socket for bi-directional communication.

Building the project

  1. Check out the repository.
  2. Open it with XCode.
  3. Make sure you have the ESP32 Chat Server already running.
  4. Launch the app.
  5. Text typed on the input line will be sent to the server and will show up on the screen of every other Chat Client.

iphone-chat-client's People

Contributors

davidlehrian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.