Enables the Battery Service following the definition from the Bluetooth SIG.
+
Active le service Battery en suivant la définition de "Bluetooth SIG".
+
+
Le [https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.service.battery_service.xml Service Battery] permet d'exposer l'état de la batterie au périphérique appairé.
* Codebase Revision: 0.7.0
* Codebase Revision: 0.7.0
−
* Parameters: Whether the battery service should be enabled, via on of the following values:
+
* Paramètre: Indique si le service Battery doit être activé ou désactivé:
−
** '''1''' ou '''on'''
+
** '''1''' ou '''on''' - activer le service
−
** '''0''' ou '''off'''
+
** '''0''' ou '''off''' - désactiver le service
−
* Output: If executed with no parameters, a numeric value will be returned indicating whether the battery service is enabled (1) or disabled (0).
+
* Sortie: Si la commande est exécutée sans paramètre alors l'interpréteur de commande retourne une valeur numérique indiquant l'état d'activation du service. Activer = 1, Désactiver = 0.
−
{{ambox|text=This command requires a system reset to take effect.}}
+
+
{{ambox|text=Nécessite une réinitialisation système (ATZ) pour que la modification soit activée.}}