DerInti / gofritz

A Go library, to interact with AVM Fritz!Box routers/devices via TR064 API. Having no external dependencies, and purely work with Go's standard lib.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gofritz

A Go library, to interact with AVM Fritz!Box routers/devices via TR064 API. The library offers convenient Go-functions, which are SOAP based client stubs, having no external dependencies, and purely work with Go's standard lib. In (a very far) future, a command line (CLI) implementation is planned.

Contributors and testers are highly welcome.

This work was inspired by https://github.com/kanimaru/fritzbox-soap-example - thanks for that.

Implementation Status

  • Tested with Fritz!Box Cable and a Fritz!Box device
  • The CLI part is not yet implemented
  • The library part is fully implemented (using code generation, based on AVM's service descriptions)
  • There are no config options for timeouts, or retries or other things yet, to make the lib more robust
  • No anonymous API calls supported (only with user/pass)
  • No SSL transport encryption is supported (planned for future releases)

Example usage

The typical pattern of how to use this library is to create a session object first, and then use it for multiple API calls. The session object does contain username/password to automatically authenticate against the API. Because the authentication schema implemented by Fritz!Box is based on a challenge response method with a derived session, it's recommended to re-use the session object for multiple API calls, to avoid redundant login API calls.

package main

import (
   "fmt"
   "github.com/nitram509/gofritz/pkg/soap"
   "github.com/nitram509/gofritz/pkg/tr064/lan"
   "os"
)

func main() {
   username := os.Getenv("FB_USERNAME")
   password := os.Getenv("FB_PASSWORD")
   session := soap.NewSession("fritz.box", username, password)

   hostList, err := lan.XAvmGetHostList(session)
   if err != nil {
      panic(err)
   }
   for _, host := range hostList {
      println(fmt.Sprintf("Host: %s, Active:%v", host.HostName, host.Active))
   }
}

Configure the TR064 API and a user

This is the basic setup to be done, so an application can use this API.

  1. log into http://fritz.box/ via your admin account
  2. enable TR064, via menu path... 'home network' -> 'network settings' -> 'advanced settings' -> tick the box 'allow access for applications'
  3. create a user with password, via menu path... 'system' -> 'Fritz!box user' -> edit or create a new one and set a password

Supported API functions

This is the list of available functions, which are available via TR064 API. Additionally, some comfort-functions exists, ease the usage of the API (see below).

The column 'discovered via' indicates, since when the API is available. Some APIs are also specific for the 'cable' model and not available by other models. For future releases its planned to enhance the documentation, for which model a function is available. For now, please consult the Go docs of the implementation, which links the .XML file function description, to verify your device supports the SOAP call.

(Go) function Discovered via
gateway.GetDeviceInfo FRITZ!Box 7530 v164.07.57
gateway.SetProvisioningCode FRITZ!Box 7530 v164.07.57
gateway.GetDeviceLog FRITZ!Box 7530 v164.07.57
gateway.GetSecurityPort FRITZ!Box 7530 v164.07.57
gateway.GetPersistentData FRITZ!Box 7530 v164.07.57
gateway.SetPersistentData FRITZ!Box 7530 v164.07.57
gateway.ConfigurationStarted FRITZ!Box 7530 v164.07.57
gateway.ConfigurationFinished FRITZ!Box 7530 v164.07.57
gateway.FactoryReset FRITZ!Box 7530 v164.07.57
gateway.Reboot FRITZ!Box 7530 v164.07.57
gateway.X_GenerateUUID FRITZ!Box 7530 v164.07.57
gateway.XavmGetConfigFile FRITZ!Box 7530 v164.07.57
gateway.XavmSetConfigFile FRITZ!Box 7530 v164.07.57
gateway.XavmCreateUrlSID FRITZ!Box 7530 v164.07.57
gateway.XavmSendSupportData FRITZ!Box 7530 v164.07.57
gateway.XavmGetSupportDataInfo FRITZ!Box 7530 v164.07.57
gateway.XavmGetSupportDataEnable FRITZ!Box 7530 v164.07.57
gateway.XavmSetSupportDataEnable FRITZ!Box 7530 v164.07.57
gateway.SetDefaultConnectionService FRITZ!Box 7530 v164.07.57
gateway.GetDefaultConnectionService FRITZ!Box 7530 v164.07.57
gateway.GetForwardNumberOfEntries FRITZ!Box 7530 v164.07.57
gateway.AddForwardingEntry FRITZ!Box 7530 v164.07.57
gateway.DeleteForwardingEntry FRITZ!Box 7530 v164.07.57
gateway.GetSpecificForwardingEntry FRITZ!Box 7530 v164.07.57
gateway.GetGenericForwardingEntry FRITZ!Box 7530 v164.07.57
gateway.SetForwardingEntryEnable FRITZ!Box 7530 v164.07.57
gateway.GetLanConfigSecurityInfo FRITZ!Box 7530 v164.07.57
gateway.XavmGetCurrentUser FRITZ!Box 7530 v164.07.57
gateway.XavmGetAnonymousLogin FRITZ!Box 7530 v164.07.57
gateway.SetConfigPassword FRITZ!Box 7530 v164.07.57
gateway.XavmGetUserList FRITZ!Box 7530 v164.07.57
gateway.GetManagementServerInfo FRITZ!Box 7530 v164.07.57
gateway.SetManagementServerURL FRITZ!Box 7530 v164.07.57
gateway.SetManagementServerUsername FRITZ!Box 7530 v164.07.57
gateway.SetManagementServerPassword FRITZ!Box 7530 v164.07.57
gateway.SetPeriodicInform FRITZ!Box 7530 v164.07.57
gateway.SetConnectionRequestAuthentication FRITZ!Box 7530 v164.07.57
gateway.SetUpgradeManagement FRITZ!Box 7530 v164.07.57
gateway.X_SetTR069Enable FRITZ!Box 7530 v164.07.57
gateway.XavmGetTR069FirmwareDownloadEnabled FRITZ!Box 7530 v164.07.57
gateway.XavmSetTR069FirmwareDownloadEnabled FRITZ!Box 7530 v164.07.57
gateway.GetTimeInfo FRITZ!Box 7530 v164.07.57
gateway.SetNTPServers FRITZ!Box 7530 v164.07.57
gateway.GetUserInterfaceInfo FRITZ!Box 7530 v164.07.57
gateway.XavmCheckUpdate FRITZ!Box 7530 v164.07.57
gateway.XavmDoUpdate FRITZ!Box 7530 v164.07.57
gateway.XavmDoPrepareCGI FRITZ!Box 7530 v164.07.57
gateway.XavmDoManualUpdate FRITZ!Box 7530 v164.07.57
gateway.XavmGetInternationalConfig FRITZ!Box 7530 v164.07.57
gateway.XavmSetInternationalConfig FRITZ!Box 7530 v164.07.57
gateway.XavmGetUserInterfaceInfo FRITZ!Box 7530 v164.07.57
gateway.XavmSetConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmStorageInfo FRITZ!Box 7530 v164.07.57
gateway.RequestFTPServerWAN FRITZ!Box 7530 v164.07.57
gateway.SetFTPServer FRITZ!Box 7530 v164.07.57
gateway.SetFTPServerWAN FRITZ!Box 7530 v164.07.57
gateway.SetSMBServer FRITZ!Box 7530 v164.07.57
gateway.GetUserInfo FRITZ!Box 7530 v164.07.57
gateway.SetUserConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmWebdavInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmWebdavConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmUpnpInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmUpnpConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmSpeedtestInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmSpeedtestConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmSpeedtestStatistics FRITZ!Box 7530 v164.07.57
gateway.ResetStatistics FRITZ!Box 7530 v164.07.57
gateway.GetAvmRemoteAccessInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmRemoteAccessConfig FRITZ!Box 7530 v164.07.57
gateway.SetAvmRemoteAccessEnable FRITZ!Box 7530 v164.07.57
gateway.SetLetsEncryptEnable FRITZ!Box 7530 v164.07.57
gateway.GetDDNSInfo FRITZ!Box 7530 v164.07.57
gateway.GetDDNSProviders FRITZ!Box 7530 v164.07.57
gateway.SetDDNSConfig FRITZ!Box 7530 v164.07.57
gateway.GetAvmMyFritzInfo FRITZ!Box 7530 v164.07.57
gateway.SetMyFRITZ FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfServices FRITZ!Box 7530 v164.07.57
gateway.GetServiceByIndex FRITZ!Box 7530 v164.07.57
gateway.SetServiceByIndex FRITZ!Box 7530 v164.07.57
gateway.DeleteServiceByIndex FRITZ!Box 7530 v164.07.57
gateway.GetInfoEx FRITZ!Box 7530 v164.07.57
gateway.XavmAddVoIPAccount FRITZ!Box 7530 v164.07.57
gateway.XavmGetVoIPAccount FRITZ!Box 7530 v164.07.57
gateway.XavmDelVoIPAccount FRITZ!Box 7530 v164.07.57
gateway.XavmGetVoIPAccounts FRITZ!Box 7530 v164.07.57
gateway.XavmGetVoIPStatus FRITZ!Box 7530 v164.07.57
gateway.GetXVoipInfo FRITZ!Box 7530 v164.07.57
gateway.SetXVoipConfig FRITZ!Box 7530 v164.07.57
gateway.GetMaxVoIPNumbers FRITZ!Box 7530 v164.07.57
gateway.GetExistingVoIPNumbers FRITZ!Box 7530 v164.07.57
gateway.XavmGetNumberOfClients FRITZ!Box 7530 v164.07.57
gateway.XavmGetClient FRITZ!Box 7530 v164.07.57
gateway.XavmGetClient2 FRITZ!Box 7530 v164.07.57
gateway.XavmSetClient FRITZ!Box 7530 v164.07.57
gateway.XavmSetClient2 FRITZ!Box 7530 v164.07.57
gateway.XavmGetClient3 FRITZ!Box 7530 v164.07.57
gateway.XavmGetClientByClientId FRITZ!Box 7530 v164.07.57
gateway.XavmSetClient3 FRITZ!Box 7530 v164.07.57
gateway.XavmSetClient4 FRITZ!Box 7530 v164.07.57
gateway.XavmGetClients FRITZ!Box 7530 v164.07.57
gateway.XavmGetNumberOfNumbers FRITZ!Box 7530 v164.07.57
gateway.XavmGetNumbers FRITZ!Box 7530 v164.07.57
gateway.XavmDeleteClient FRITZ!Box 7530 v164.07.57
gateway.XavmDialGetConfig FRITZ!Box 7530 v164.07.57
gateway.XavmDialSetConfig FRITZ!Box 7530 v164.07.57
gateway.XavmDialNumber FRITZ!Box 7530 v164.07.57
gateway.XavmDialHangup FRITZ!Box 7530 v164.07.57
gateway.XavmGetPhonePort FRITZ!Box 7530 v164.07.57
gateway.XavmSetDelayedCallNotification FRITZ!Box 7530 v164.07.57
gateway.GetVoIPCommonCountryCode FRITZ!Box 7530 v164.07.57
gateway.XavmGetVoIPCommonCountryCode FRITZ!Box 7530 v164.07.57
gateway.SetVoIPCommonCountryCode FRITZ!Box 7530 v164.07.57
gateway.XavmSetVoIPCommonCountryCode FRITZ!Box 7530 v164.07.57
gateway.GetVoIPEnableCountryCode FRITZ!Box 7530 v164.07.57
gateway.SetVoIPEnableCountryCode FRITZ!Box 7530 v164.07.57
gateway.GetVoIPCommonAreaCode FRITZ!Box 7530 v164.07.57
gateway.XavmGetVoIPCommonAreaCode FRITZ!Box 7530 v164.07.57
gateway.SetVoIPCommonAreaCode FRITZ!Box 7530 v164.07.57
gateway.XavmSetVoIPCommonAreaCode FRITZ!Box 7530 v164.07.57
gateway.GetVoIPEnableAreaCode FRITZ!Box 7530 v164.07.57
gateway.SetVoIPEnableAreaCode FRITZ!Box 7530 v164.07.57
gateway.XavmGetAlarmClock FRITZ!Box 7530 v164.07.57
gateway.XavmSetAlarmClockEnable FRITZ!Box 7530 v164.07.57
gateway.XavmGetNumberOfAlarmClocks FRITZ!Box 7530 v164.07.57
gateway.GetAvmOnTelInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmOnTelEnable FRITZ!Box 7530 v164.07.57
gateway.SetAvmOnTelConfig FRITZ!Box 7530 v164.07.57
gateway.GetInfoByIndex FRITZ!Box 7530 v164.07.57
gateway.SetEnableByIndex FRITZ!Box 7530 v164.07.57
gateway.SetConfigByIndex FRITZ!Box 7530 v164.07.57
gateway.DeleteByIndex FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfEntries FRITZ!Box 7530 v164.07.57
gateway.GetCallList FRITZ!Box 7530 v164.07.57
gateway.GetPhonebookList FRITZ!Box 7530 v164.07.57
gateway.GetPhonebook FRITZ!Box 7530 v164.07.57
gateway.AddPhonebook FRITZ!Box 7530 v164.07.57
gateway.DeletePhonebook FRITZ!Box 7530 v164.07.57
gateway.GetPhonebookEntry FRITZ!Box 7530 v164.07.57
gateway.GetPhonebookEntryUID FRITZ!Box 7530 v164.07.57
gateway.SetPhonebookEntry FRITZ!Box 7530 v164.07.57
gateway.SetPhonebookEntryUID FRITZ!Box 7530 v164.07.57
gateway.DeletePhonebookEntry FRITZ!Box 7530 v164.07.57
gateway.DeletePhonebookEntryUID FRITZ!Box 7530 v164.07.57
gateway.GetCallBarringEntry FRITZ!Box 7530 v164.07.57
gateway.GetCallBarringEntryByNum FRITZ!Box 7530 v164.07.57
gateway.GetCallBarringList FRITZ!Box 7530 v164.07.57
gateway.SetCallBarringEntry FRITZ!Box 7530 v164.07.57
gateway.DeleteCallBarringEntryUID FRITZ!Box 7530 v164.07.57
gateway.GetDECTHandsetList FRITZ!Box 7530 v164.07.57
gateway.GetDECTHandsetInfo FRITZ!Box 7530 v164.07.57
gateway.SetDECTHandsetPhonebook FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfDeflections FRITZ!Box 7530 v164.07.57
gateway.GetDeflection FRITZ!Box 7530 v164.07.57
gateway.GetDeflections FRITZ!Box 7530 v164.07.57
gateway.SetDeflectionEnable FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfDectEntries FRITZ!Box 7530 v164.07.57
gateway.GetGenericDectEntry FRITZ!Box 7530 v164.07.57
gateway.GetSpecificDectEntry FRITZ!Box 7530 v164.07.57
gateway.DectDoUpdate FRITZ!Box 7530 v164.07.57
gateway.GetDectListPath FRITZ!Box 7530 v164.07.57
gateway.GetAvmTamInfo FRITZ!Box 7530 v164.07.57
gateway.SetAvmTamEnable FRITZ!Box 7530 v164.07.57
gateway.GetMessageList FRITZ!Box 7530 v164.07.57
gateway.MarkMessage FRITZ!Box 7530 v164.07.57
gateway.DeleteMessage FRITZ!Box 7530 v164.07.57
gateway.GetList FRITZ!Box 7530 v164.07.57
gateway.GetAvmAppSetupInfo FRITZ!Box 7530 v164.07.57
gateway.GetConfig FRITZ!Box 7530 v164.07.57
gateway.GetAppMessageFilter FRITZ!Box 7530 v164.07.57
gateway.RegisterApp FRITZ!Box 7530 v164.07.57
gateway.SetAppVPN FRITZ!Box 7530 v164.07.57
gateway.SetAppVPNwithPFS FRITZ!Box 7530 v164.07.57
gateway.SetAppMessageFilter FRITZ!Box 7530 v164.07.57
gateway.SetAppMessageReceiver FRITZ!Box 7530 v164.07.57
gateway.ResetEvent FRITZ!Box 7530 v164.07.57
gateway.GetAppRemoteInfo FRITZ!Box 7530 v164.07.57
gateway.GetBoxSenderId FRITZ!Box 7530 v164.07.57
gateway.GetAvmHomeautoInfo FRITZ!Box 7530 v164.07.57
gateway.GetGenericDeviceInfos FRITZ!Box 7530 v164.07.57
gateway.GetSpecificDeviceInfos FRITZ!Box 7530 v164.07.57
gateway.SetDeviceName FRITZ!Box 7530 v164.07.57
gateway.SetSwitch FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfDeviceEntries FRITZ!Box 7530 v164.07.57
gateway.GetGenericDeviceEntry FRITZ!Box 7530 v164.07.57
gateway.GetSpecificDeviceEntry FRITZ!Box 7530 v164.07.57
gateway.DeviceDoUpdate FRITZ!Box 7530 v164.07.57
gateway.GetNumberOfFilelinkEntries FRITZ!Box 7530 v164.07.57
gateway.GetGenericFilelinkEntry FRITZ!Box 7530 v164.07.57
gateway.GetSpecificFilelinkEntry FRITZ!Box 7530 v164.07.57
gateway.NewFilelinkEntry FRITZ!Box 7530 v164.07.57
gateway.SetFilelinkEntry FRITZ!Box 7530 v164.07.57
gateway.DeleteFilelinkEntry FRITZ!Box 7530 v164.07.57
gateway.GetFilelinkListPath FRITZ!Box 7530 v164.07.57
gateway.GetAvmAuthInfo FRITZ!Box 7530 v164.07.57
gateway.GetState FRITZ!Box 7530 v164.07.57
gateway.SetAvmAuthConfig FRITZ!Box 7530 v164.07.57
gateway.MarkTicket FRITZ!Box 7530 v164.07.57
gateway.GetTicketIDStatus FRITZ!Box 7530 v164.07.57
gateway.DiscardAllTickets FRITZ!Box 7530 v164.07.57
gateway.DisallowWANAccessByIP FRITZ!Box 7530 v164.07.57
gateway.GetWANAccessByIP FRITZ!Box 7530 v164.07.57
gateway.GetAvmMediaInfo FRITZ!Box 6490 Cable v141.07.57
gateway.GetDVBCEnable FRITZ!Box 6490 Cable v141.07.57
gateway.SetDVBCEnable FRITZ!Box 6490 Cable v141.07.57
gateway.StationSearch FRITZ!Box 6490 Cable v141.07.57
gateway.GetSearchProgress FRITZ!Box 6490 Cable v141.07.57
gateway.GetAvmUspControllerInfo FRITZ!Box 7530 v164.07.57
gateway.GetUSPControllerByIndex FRITZ!Box 7530 v164.07.57
gateway.GetUSPControllerNumberOfEntries FRITZ!Box 7530 v164.07.57
gateway.AddUSPController FRITZ!Box 7530 v164.07.57
gateway.DeleteUSPControllerByIndex FRITZ!Box 7530 v164.07.57
gateway.SetUSPControllerEnableByIndex FRITZ!Box 7530 v164.07.57
gateway.GetUSPMyFRITZEnable FRITZ!Box 7530 v164.07.57
gateway.SetUSPMyFRITZEnable FRITZ!Box 7530 v164.07.57
lan.Wlan1SetWlanConfigurationEnable FRITZ!Box 7530 v164.07.57
lan.Wlan1GetWlanConfigurationInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1SetWlanConfigurationConfig FRITZ!Box 7530 v164.07.57
lan.Wlan1SetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan1GetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan1SetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan1GetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan1SetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan1GetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan1GetWlanConfigurationStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan1GetPacketStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan1GetBSSID FRITZ!Box 7530 v164.07.57
lan.Wlan1GetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan1SetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan1GetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan1SetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan1GetChannelInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1SetChannel FRITZ!Box 7530 v164.07.57
lan.Wlan1GetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan1SetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan1GetTotalAssociations FRITZ!Box 7530 v164.07.57
lan.Wlan1GetGenericAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1GetSpecificAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetSpecificAssociatedDeviceInfoByIp FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetWLANDeviceListPath FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetStickSurfEnable FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetNightControl FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetWLANExtInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetWPSInfo FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetWPSConfig FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetWPSEnable FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmSetWLANGlobalEnable FRITZ!Box 7530 v164.07.57
lan.Wlan1XavmGetWLANConnectionInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2SetWlanConfigurationEnable FRITZ!Box 7530 v164.07.57
lan.Wlan2GetWlanConfigurationInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2SetWlanConfigurationConfig FRITZ!Box 7530 v164.07.57
lan.Wlan2SetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan2GetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan2SetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan2GetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan2SetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan2GetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan2GetWlanConfigurationStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan2GetPacketStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan2GetBSSID FRITZ!Box 7530 v164.07.57
lan.Wlan2GetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan2SetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan2GetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan2SetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan2GetChannelInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2SetChannel FRITZ!Box 7530 v164.07.57
lan.Wlan2GetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan2SetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan2GetTotalAssociations FRITZ!Box 7530 v164.07.57
lan.Wlan2GetGenericAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2GetSpecificAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetSpecificAssociatedDeviceInfoByIp FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetWLANDeviceListPath FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetStickSurfEnable FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetNightControl FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetWLANExtInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetWPSInfo FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetWPSConfig FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetWPSEnable FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmSetWLANGlobalEnable FRITZ!Box 7530 v164.07.57
lan.Wlan2XavmGetWLANConnectionInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3SetWlanConfigurationEnable FRITZ!Box 7530 v164.07.57
lan.Wlan3GetWlanConfigurationInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3SetWlanConfigurationConfig FRITZ!Box 7530 v164.07.57
lan.Wlan3SetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan3GetSecurityKeys FRITZ!Box 7530 v164.07.57
lan.Wlan3SetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan3GetDefaultWEPKeyIndex FRITZ!Box 7530 v164.07.57
lan.Wlan3SetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan3GetBasBeaconSecurityProperties FRITZ!Box 7530 v164.07.57
lan.Wlan3GetWlanConfigurationStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan3GetPacketStatistics FRITZ!Box 7530 v164.07.57
lan.Wlan3GetBSSID FRITZ!Box 7530 v164.07.57
lan.Wlan3GetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan3SetSSID FRITZ!Box 7530 v164.07.57
lan.Wlan3GetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan3SetBeaconType FRITZ!Box 7530 v164.07.57
lan.Wlan3GetChannelInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3SetChannel FRITZ!Box 7530 v164.07.57
lan.Wlan3GetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan3SetBeaconAdvertisement FRITZ!Box 7530 v164.07.57
lan.Wlan3GetTotalAssociations FRITZ!Box 7530 v164.07.57
lan.Wlan3GetGenericAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3GetSpecificAssociatedDeviceInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetSpecificAssociatedDeviceInfoByIp FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetWLANDeviceListPath FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetStickSurfEnable FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetIPTVOptimized FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetNightControl FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetWLANHybridMode FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetWLANExtInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetWPSInfo FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetWPSConfig FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetWPSEnable FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmSetWLANGlobalEnable FRITZ!Box 7530 v164.07.57
lan.Wlan3XavmGetWLANConnectionInfo FRITZ!Box 7530 v164.07.57
lan.GetHostNumberOfEntries FRITZ!Box 7530 v164.07.57
lan.GetSpecificHostEntry FRITZ!Box 7530 v164.07.57
lan.GetGenericHostEntry FRITZ!Box 7530 v164.07.57
lan.XavmGetLanDeviceHostsInfo FRITZ!Box 7530 v164.07.57
lan.XavmGetChangeCounter FRITZ!Box 7530 v164.07.57
lan.XavmSetHostNameByMACAddress FRITZ!Box 7530 v164.07.57
lan.XavmGetAutoWakeOnLANByMACAddress FRITZ!Box 7530 v164.07.57
lan.XavmSetAutoWakeOnLANByMACAddress FRITZ!Box 7530 v164.07.57
lan.XavmWakeOnLANByMACAddress FRITZ!Box 7530 v164.07.57
lan.XavmGetSpecificHostEntryByIP FRITZ!Box 7530 v164.07.57
lan.XavmHostsCheckUpdate FRITZ!Box 7530 v164.07.57
lan.XavmHostDoUpdate FRITZ!Box 7530 v164.07.57
lan.XavmSetPrioritizationByIP FRITZ!Box 7530 v164.07.57
lan.XavmGetHostListPath FRITZ!Box 7530 v164.07.57
lan.XavmGetMeshListPath FRITZ!Box 7530 v164.07.57
lan.XavmGetFriendlyName FRITZ!Box 7530 v164.07.57
lan.XavmSetFriendlyName FRITZ!Box 7530 v164.07.57
lan.XavmSetFriendlyNameByIP FRITZ!Box 7530 v164.07.57
lan.XavmSetFriendlyNameByMAC FRITZ!Box 7530 v164.07.57
lan.SetLanEthernetIfCfgEnable FRITZ!Box 7530 v164.07.57
lan.GetLanEthernetIfCfgInfo FRITZ!Box 7530 v164.07.57
lan.GetLanEthernetIfCfgStatistics FRITZ!Box 7530 v164.07.57
lan.GetLanHCfgMgmInfo FRITZ!Box 7530 v164.07.57
lan.SetDHCPServerEnable FRITZ!Box 7530 v164.07.57
lan.SetIPInterface FRITZ!Box 7530 v164.07.57
lan.GetAddressRange FRITZ!Box 7530 v164.07.57
lan.SetAddressRange FRITZ!Box 7530 v164.07.57
lan.GetIPRoutersList FRITZ!Box 7530 v164.07.57
lan.SetIPRouter FRITZ!Box 7530 v164.07.57
lan.GetSubnetMask FRITZ!Box 7530 v164.07.57
lan.SetSubnetMask FRITZ!Box 7530 v164.07.57
lan.GetDNSServers FRITZ!Box 7530 v164.07.57
lan.GetIPInterfaceNumberOfEntries FRITZ!Box 7530 v164.07.57
wan.GetCommonLinkProperties FRITZ!Box 7530 v164.07.57
wan.GetTotalBytesSent FRITZ!Box 7530 v164.07.57
wan.GetTotalBytesReceived FRITZ!Box 7530 v164.07.57
wan.GetTotalPacketsSent FRITZ!Box 7530 v164.07.57
wan.GetTotalPacketsReceived FRITZ!Box 7530 v164.07.57
wan.XavmSetWANAccessType FRITZ!Box 7530 v164.07.57
wan.XavmGetActiveProvider FRITZ!Box 7530 v164.07.57
wan.XavmGetOnlineMonitor FRITZ!Box 7530 v164.07.57
wan.GetWanDslIfConfigInfo FRITZ!Box 7530 v164.07.57
wan.GetStatisticsTotal FRITZ!Box 7530 v164.07.57
wan.XavmGetDSLDiagnoseInfo FRITZ!Box 7530 v164.07.57
wan.XavmGetDSLInfo FRITZ!Box 7530 v164.07.57

Additional library functions

The following functions offer comfort features, over the existing API functions.

Go function description
lan.XavmGetHostList lists all known hosts, wraps lan.XavmGetHostListPath

About

A Go library, to interact with AVM Fritz!Box routers/devices via TR064 API. Having no external dependencies, and purely work with Go's standard lib.

License:MIT License


Languages

Language:Go 100.0%