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

Make it easier for users to understand the TR-064 API / commands #9

Open
Aypac opened this issue Nov 26, 2018 · 2 comments
Open

Make it easier for users to understand the TR-064 API / commands #9

Aypac opened this issue Nov 26, 2018 · 2 comments

Comments

@Aypac
Copy link
Owner

Aypac commented Nov 26, 2018

It is currently rather hard to get an idea which commands are available over the API. Make this easier. Either consider a dedicated tool or a function within the library.

This could also make debugging of other issues, such as #5 and #7 easier.

@Aypac
Copy link
Owner Author

Aypac commented Nov 28, 2018

First step taken by creating a wiki article: How to create your first own API call
More should be added later and a "list" function on the library would also be cool.

@Aypac
Copy link
Owner Author

Aypac commented Jun 10, 2020

Note: Printing of the available services by setting connection.debug_level = TR064.DEBUG_ERROR; (current default) makes this already easier.

Click to see sample output
21:03:18.942 -> [initServiceURLs] Detected Services:
21:03:18.942 ->     1	urn:dslforum-org:service:DeviceInfo:1 @ /upnp/control/deviceinfo
21:03:18.942 ->     2	urn:dslforum-org:service:DeviceConfig:1 @ /upnp/control/deviceconfig
21:03:18.976 ->     3	urn:dslforum-org:service:Layer3Forwarding:1 @ /upnp/control/layer3forwarding
21:03:18.976 ->     4	urn:dslforum-org:service:LANConfigSecurity:1 @ /upnp/control/lanconfigsecurity
21:03:18.976 ->     5	urn:dslforum-org:service:ManagementServer:1 @ /upnp/control/mgmsrv
21:03:18.976 ->     6	urn:dslforum-org:service:Time:1 @ /upnp/control/time
21:03:19.010 ->     7	urn:dslforum-org:service:UserInterface:1 @ /upnp/control/userif
21:03:19.010 ->     8	urn:dslforum-org:service:X_AVM-DE_Storage:1 @ /upnp/control/x_storage
21:03:19.010 ->     9	urn:dslforum-org:service:X_AVM-DE_WebDAVClient:1 @ /upnp/control/x_webdav
21:03:19.010 ->     10	urn:dslforum-org:service:X_AVM-DE_UPnP:1 @ /upnp/control/x_upnp
21:03:19.045 ->     11	urn:dslforum-org:service:X_AVM-DE_Speedtest:1 @ /upnp/control/x_speedtest
21:03:19.045 ->     12	urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1 @ /upnp/control/x_remote
21:03:19.045 ->     13	urn:dslforum-org:service:X_AVM-DE_MyFritz:1 @ /upnp/control/x_myfritz
21:03:19.045 ->     14	urn:dslforum-org:service:X_VoIP:1 @ /upnp/control/x_voip
21:03:19.078 ->     15	urn:dslforum-org:service:X_AVM-DE_OnTel:1 @ /upnp/control/x_contact
21:03:19.078 ->     16	urn:dslforum-org:service:X_AVM-DE_Dect:1 @ /upnp/control/x_dect
21:03:19.078 ->     17	urn:dslforum-org:service:X_AVM-DE_TAM:1 @ /upnp/control/x_tam
21:03:19.078 ->     18	urn:dslforum-org:service:X_AVM-DE_AppSetup:1 @ /upnp/control/x_appsetup
21:03:19.113 ->     19	urn:dslforum-org:service:X_AVM-DE_Homeauto:1 @ /upnp/control/x_homeauto
21:03:19.113 ->     20	urn:dslforum-org:service:X_AVM-DE_Homeplug:1 @ /upnp/control/x_homeplug
21:03:19.113 ->     21	urn:dslforum-org:service:X_AVM-DE_Filelinks:1 @ /upnp/control/x_filelinks
21:03:19.113 ->     22	urn:dslforum-org:service:X_AVM-DE_Auth:1 @ /upnp/control/x_auth
21:03:19.146 ->     23	urn:dslforum-org:service:WLANConfiguration:1 @ /upnp/control/wlanconfig1
21:03:19.146 ->     24	urn:dslforum-org:service:WLANConfiguration:2 @ /upnp/control/wlanconfig2
21:03:19.146 ->     25	urn:dslforum-org:service:WLANConfiguration:3 @ /upnp/control/wlanconfig3
21:03:19.146 ->     26	urn:dslforum-org:service:Hosts:1 @ /upnp/control/hosts
21:03:19.184 ->     27	urn:dslforum-org:service:LANEthernetInterfaceConfig:1 @ /upnp/control/lanethernetifcfg
21:03:19.184 ->     28	urn:dslforum-org:service:LANHostConfigManagement:1 @ /upnp/control/lanhostconfigmgm
21:03:19.184 ->     29	urn:dslforum-org:service:WANCommonInterfaceConfig:1 @ /upnp/control/wancommonifconfig1
21:03:19.184 ->     30	urn:dslforum-org:service:WANDSLInterfaceConfig:1 @ /upnp/control/wandslifconfig1
21:03:19.220 ->     31	urn:dslforum-org:service:WANDSLLinkConfig:1 @ /upnp/control/wandsllinkconfig1
21:03:19.220 ->     32	urn:dslforum-org:service:WANEthernetLinkConfig:1 @ /upnp/control/wanethlinkconfig1
21:03:19.220 ->     33	urn:dslforum-org:service:WANPPPConnection:1 @ /upnp/control/wanpppconn1
21:03:19.220 ->     34	urn:dslforum-org:service:WANIPConnection:1 @ /upnp/control/wanipconnection1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant