Ok. Understand the port number thing
Hi Knight.
I see you got the same problem as me with Ethernet.
Iāgot the same idea about ADB (can paired and connect) and WFS and donāt understand why it doesnāt work with WFS.
My router is not an hold one and I got 2.5mhz and 5 mhz, try bothā¦ still not work.
r.lietchy talked about the network and say maybe they 're not on the same network, but evrything on my network is on 192.168.1.* by DHCP so if iām not wrong, theyāre ont he same network.
PS: I donāt understant the āport number thingā can you develop ? please.
I want really to fix this, cause i need my work laptop for upload watch face on my watchā¦
Hi @axel.valadon ,actually weirdly i dont have same problem, but i read from another topic the poster also had the same issue.
I just asking what i think its the right question for your behalf.
Anyway to answer your question.i think Its the protocol port number.
Some example,
Ssl = 443
Http = 80
Ssh : 22
To my understanding in networking.
There is a source port, destination ports involve in any connection. So the ethernet port = source port.
Where the watch ports is = destination port.
So in some case wfs source port maybe different from adb port.
So when ack come back from your watch it talks to adb port and not what wfs maybe listening too
From what i read and found out via task manager its adb bridge server port actually
Concept : client ā server communication
P.s work laptop cannot use wireless?
I canāt either when I am within the Samsung Network it isnāt allowed. Check with your IT department to see if it is allowed.
Ron
Samsung Developer Relations
Thanks, for your answer.
Yes i use my work laptop for update my watch, but at home my PC donāt have Network, itās why i try to connect by Ethernet.
I know about the source and destination port, but in my router i didnāt change the root, so what I donāt understand is, in WFS you tell him to check on the port thatās write on the watch for itās specific IP, like we do with ADB.
If i couldnāt connect with ADB I will understand I got a problem with my Network, but itās not the case.
On my watch when i use Ethernet, i see my PC is paired, but WFS say it canāt read dataā¦
So the source of the problem is WFS, I donāt have this kind of problem with anything else, WIFI and Ethernet are on the same network and everything work well, but not WFSā¦
Hi,
The problem is only at home with Ethernet, if i use my work laptop at home, everything works.
Hi, what we meant is wfs is listening on a different port.
E.g adb server is port 5503
But wfs set up maybe 5037.
Your watch when making connection might sent ack or talk back to only port 5503
That why your adb commands works, but wfs does not
Just my guess may not be correct.
Anyway i dont think its wfs per say, could be multiple things at play, as its works for me
I connected my pc ā ethernet, watch ā wireless
And i do see my watch on the wfs.
Also another guy with same setup managed to make it work after he realised he missed a step.
Only difference in all three cases we are using different watches. Gw6 , gw 5 pro(my) , gw4
But wear os is wear os 4
Note i not saying u missed a step. But showing a example that works. With ethernet using wfs.
Also there can be a case where one application can connect to sometime, but another trying to do the same cant. Its called application firewall.
Example i can have chrome visit www.yyy.com
But edge cannot. Why? Edge got problem? No.
Something is blocking traffic. Untill i unblocked the traffic then my edge can visit www.yyy.com
Just saying
Anyway try uninstalling and reinstalling wfs. Might help.
Hi @axel.valadon , sorry if my replies irritated u.
Just get a bit annoyed when ppl say wfs has a bug when its work just fine for me. But i understand some bugs are wierd as it show up to some but not others. Its due to logic flow so if u hit the path the bug will show up.
So sorry about that.
Anyway if still unable to get your wfs to connect to your watch. This might help u mitigate the issue for now.
Hope this helps
I only complied this today.
Thanks for your answer.
I understand what you mean about the listening port.
I use a GW6.
I try with firewall Off, nothing change.
For the steps for configure the watch and WFS, i can do it with wifi so I think I donāt make mistake at this point.
I can understand than a port can block for multiple reasons, but when we configure WFS we tell them witch port it have to use for ātalkingā with the watch no ? Like ADB, is not a fixed port.
In WSF and ADB we do the same things :
IP adress of the watch (to know on witch device WFS or ADB have to talk)
the watch give the way for talking :
the port for paired (pairing code)
The password for paired
The port for connect (ātalkingā)
So why WFS have to use a different port than ADB, you give to it. (or I miss something).
Anyway the source port is not given by us. It generated when the adb server is loaded.
There are three adb component.
Server, daemon, client
Client = the commandline,
Daemon = sitting in the watch
Server = the bridge (port generated by software)
install wfs watch faces by adb commands, post:1, topic:27899"]
If anyone has problems with ārun on device of WFSā due to being able to connect wfs by wireless.
you can use this method to push your design to the watch for testing.knowledge of ADB command line (DOS) is needed for this.
first in WFS click āpublishā to publish/build your watch face into a apk.
Build and upload from Watch Face Studio | Samsung Developers
refer to
Preparing watch faces for publishing
then after you have publishing you do not need to upload unless you want to put to google play.
you need to just go to the build folder.
e.g C:\Users\myaccount\WatchFaceStudio\build\thisisatest
thisisatest = project folder.then pair and connect with ADB
after connected successfully to your watchrun adb install .apk
Thanks for this, itās a good solution for me, I will use it, iām sure itās work (Iāve not probelm with ADB), but iām still curius about the WFS connection by ethernet.
Ok
Thatās what I missed
@axel.valadon Are you using adb that u downloaded or the one bundled with wfs?
Hi , probably that why our experience is different, i use the adb bundled in wfs
Even for commandline calls.
Wfs calls adb also
So meaning when i try command line adb. Or use run to device the adb version is the same
sorry, i make 3 connections thatās why.
I disconnect evrything and try again.
PS C:\Users\macke\Desktop\platform-tools> .\adb install .\com.axel.Carrera_widgets.apk
Performing Streamed Install
Success
Ok the watch face is on my watch, work great !!
Thanks for this solution
In the past there was an issue with WFS if the adb being used was not the one in the WFS search path. I think they resolved this but if you have an issue
Open
C:\Users\USERNAME\AppData\Local\Programs\WatchFaceStudio\tools\window
(copy the address as text from file manger using right click on the address bar)
Open a command prompt
navigate to the folder address
cd C:\Users\USERNAME\AppData\Local\Programs\WatchFaceStudio\tools\window
then use your adb commands.
Ron
Samsung Developer Relations
@axel.valadon and @r.liechty_SDR
Sorry after double checking my adb for command lines is from android studio sdk.
But wfs uses its own version.
And i have no issues yet. But logically using same adb might help in synchronisation between wfs and calls from dos
No they are the same Android Device Bridge it is just that it was reported that if a different adb is running that it can mess up WFS Run on Device. That is why i said āIf you have an issue.ā
Ron
Samsung Developer Relations
Hi @r.liechty_SDR , when i said its own version i mean different path. Or different copies. It also could be different version number. Not that wfs codes it own adb.
If anyone still donāt Understand, how to connect and debug
Here is the detailed format to connect
[Edit: Link to PDF removed. However, content of the PDF is copy/pasted into the post below]