Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Question] best way to connect from smart watch #595

Closed
drunkscientist opened this issue Mar 2, 2021 · 1 comment
Closed

[Question] best way to connect from smart watch #595

drunkscientist opened this issue Mar 2, 2021 · 1 comment
Labels

Comments

@drunkscientist
Copy link

so im writing an app for the TTGO-watch, as discussed here, and im trying to decide the best way to get data from the printer to the watch. opening a telnet connection might be fine while the user is staring at their wrist, but for basic status updates im wondering if it would be more efficient to use the webUI somehow? just have the watch pull data from a url whenever the display turns on(is there an api?)? websockets? im very new to the 'networking' part of programming so im quite unsure. my first goal is get some connection and display the printers status on the watch, eventually i would like to be able to send custom serial commands, possibly leverage the macros from the webUI

@luc-github
Copy link
Owner

in 2.1 the telnet is the way to go for remote app
in 3.0 you can also use websocket

Currently only file upload need http which is not necessary fo you if just monitoring/control

Repository owner locked and limited conversation to collaborators Mar 4, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants