Modifications

Sauter à la navigation Sauter à la recherche
1 088 octets ajoutés ,  22 juin 2017 à 13:36
Ligne 160 : Ligne 160 :  
The results from Nordic's Master Control Panel app can be seen below:
 
The results from Nordic's Master Control Panel app can be seen below:
    +
[[Fichier:Bluefruit-LE-Shield-BLE-GATT-00.png]]
 +
 +
== AT+GATTCHAR ==
 +
 +
Gets or sets the value of the specified custom GATT characteristic (based on the index ID returned when the characteristic was added to the system via AT+GATTADDCHAR).
 +
 +
* Codebase Revision: 0.3.0
 +
* Parameters: This function takes one or two comma-separated functions (one parameter = read, two parameters = write).
 +
** The first parameter is the characteristic index value, as returned from the AT+GATTADDCHAR function. This parameter is always required, and if no second parameter is entered the current value of this characteristic will be returned.
 +
** The second (optional) parameter is the new value to assign to this characteristic (within the MIN_SIZE and MAX_SIZE limits defined when creating it).
 +
* Response: If the command is used in read mode (only the characteristic index is provided as a value), the response will display the current value of the characteristics.  If the command is used in write mode (two comma-separated values are provided), the characteristics will be updated to use the provided value.
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation