Skip to content
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

same phone as sms and wifi gateway/router works! #52

Closed
hmollercl opened this issue Mar 27, 2024 · 1 comment · Fixed by #58
Closed

same phone as sms and wifi gateway/router works! #52

hmollercl opened this issue Mar 27, 2024 · 1 comment · Fixed by #58
Labels
bug Something isn't working

Comments

@hmollercl
Copy link

Amazing program.
I'm just here to tell that if you want to use the same phone as sms gateway and wifi gateway/router, it works, although this program does not tell you the local ip.
My use case is that I need to send sms message even when electricity fail so I need wifi network to be active (and sms gateway to) this is easier if one device do it all and for that using the same phone is ideal.

Activate tethering on the phone and connect to the wifi network the phone create. The only "issue" is that android-sms-gateway don't tell you the local IP so you need to discover it.
In esp I use
WiFi.gatewayIP().toString();
from
#include <WiFi.h>
after I connect to the phone wifi network.

@capcom6
Copy link
Owner

capcom6 commented Mar 27, 2024

Hello!

Thank you for sharing your experience with the project! With regard to discovering the local IP in tethering mode, I'll certainly look into it.

@capcom6 capcom6 added the bug Something isn't working label Mar 27, 2024
@capcom6 capcom6 linked a pull request Apr 17, 2024 that will close this issue
@capcom6 capcom6 closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants