-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Wifi (ESP-01) Module in the Android App #2509
Comments
Hi @AsCress, the idea we had earlier was to have the ESP module run in WIFI_AP mode, where PSLab acts as an access point. This way, a mobile device (or a laptop) can connect to PSLab and issue commands to get the response from PSLab. I think this is one way to do it, and there are probably a few other approaches we can explore. |
@CloudyPadmal Right, I got it. Was this implementation working when it was built first (I see some code that seems to implement this using httpAsyncTask) ? Should we continue on this path or start from scratch ? What are your views on this ? |
If I recall, we could get the PSLab verion ID over WiFi. May be you can try the one we have right now and decide on which path to take (as the current work done on this is very little). |
@CloudyPadmal Thank you very much for the information! That seems interesting. I'll surely try out the current implementation as you mentioned, and revert back to you. This also makes me curious about one thing: do we need any kind of support in the firmware for this to work ? If yes, then do we have it already, since you were able to get the version ID info ? |
@bessman made the UART calls generic in a way that you can use either of the UART ports to communicate which we were not able to do before. ESP TX RX pins are wired to UART2 module and we can use that interface. |
@CloudyPadmal Thank you so much for the information again ! I'll surely try this out and revert back to you. |
Actual Behaviour
Currently, the only way the app can communicate with the PSLab device is using a USB cable. There isn't any support for a wireless (Wifi or Bluetooth) connection with the device.
Expected Behaviour
We can implement support for a wireless connection with the PSLab device using the ESP-01 module as suggested by @mariobehling.
Steps to reproduce it
N/A
LogCat for the issue
N/A
Screenshots of the issue
N/A
Would you like to work on the issue?
Yes.
@CloudyPadmal I see there has been work in the past on this feature (some past GSoC project as well). I haven't worked before with the ESP-01 module but it is something which I am looking forward to work and integrate in our app over the next few months. Can you please shed some light on this topic ? If there has been work on this before, then what is its current status in the Android app ?
The text was updated successfully, but these errors were encountered: