7 Usage of XML-RPC script
7.1 Registration of the single device using ap-client.py script First thing which has to be done (for this steps and all the steps below): - Make sure Python is installed on your OS. If not, please do install.
- Under console change your working to the directory in which ap-client.py file is saved.
- Run necessary command.
After all the described steps above were done, please run 1st command for the device registration:
python ap-client.py Auth-Name Auth-Pass prov.gigaset.net autoprov.registerDevice s:MAC-ID s:URL s:Provider-Name |
In case of the successful registration, server will answer:
And in prov.gigaset.net your device will be recognized as the registered one:
7.2 Check - status In order to check status of the device, you have to run next command: python ap-client.py Auth-Name Auth-Pass prov.gigaset.net autoprov.listDevices s:Provider-Name |
On the picture below, command in use within server response can be seen:
7.3 Device deregistration In order to deregister device, you have to run next command: python ap-client.py Auth-Name Auth-Pass prov.gigaset.net autoprov.deregisterDevice s:MAC-ID |
On the picture below, command in use within server response can be seen:
7.4 Deregistration of the list of devices In order to deregister list of the devices, you have to run next command (specify here all MAC-ID which you want to deregister): python ap-client.py Auth-Name Auth-Pass prov.gigaset.net autoprov.deregisterDeviceList sl:MAC-ID1,MAC-ID2,MAC-IDN |
On the picture below, command in use within server response can be seen:
7.5 Registration of the list of devices In order to register list of the devices, you have to run next command (specify here all MAC-ID which you want to register): python ap-client.py Auth-Name Auth-Pass prov.gigaset.net autoprov.registerDeviceList sl:MAC-ID1,MAC-ID2,MAC-IDN s:URL, s:Provider-Name |
On the picture below, command in use within server response can be seen:
ap-client.py is an exemplary script, we not guarantee that this solution is stable enough for sharing it with customers. Examplary code can be requested from the 2nd Level Support as well as from Bakker, Bas. |
DX800 enabling Redirect ServerDependent on the DX800 variant, it can be that the redirect server option is disabled. This can only be enabled via special configuration, for this you need a patch. The patch is based on the variant and contains the following settings to enable redirect server.
BS_IP_Data1.ucB_HAS_PROVISIONING_CODE=1 BS_IP_Data1.ucB_SHOW_PROVISIONING_CODE_IN_HS=1 BS_IP_Data1.ucB_AUTOPROVISIONING=0 BS_IP_Data1.ucI_AUTOPROVISIONING_STYLE=0 BS_IP_Data1.ucB_AUTO_UPDATE_PROFILE=1 BS_IP_Data3.ucI_ONESHOT_PROVISIONING_MODE_1=1 BS_IP_Data1.aucS_AUTOPROVISIONING_CODE=0x34,0x34,0x34 |
Via the restore option, you can activate the patch below. If you variant is not listed you need to request this from Gigaset.
|