Ligne 20 : |
Ligne 20 : |
| Forces the module into DFU mode, allowing over the air firmware updates using a dedicated DFU app on iOS or Android. | | Forces the module into DFU mode, allowing over the air firmware updates using a dedicated DFU app on iOS or Android. |
| * Codebase Revision: 0.3.0 | | * Codebase Revision: 0.3.0 |
− | * Parameters: None | + | * Paramètres: Aucun |
− | * Output: None | + | * Sortie: Aucun |
| | | |
| {{ambox-stop|text=The AT parser will no longer responsd after the AT+DFU command is entered, since normal program execution effectively halts and a full system reset is performed to start the bootloader code.}} | | {{ambox-stop|text=The AT parser will no longer responsd after the AT+DFU command is entered, since normal program execution effectively halts and a full system reset is performed to start the bootloader code.}} |
Ligne 31 : |
Ligne 31 : |
| Displays a comma-separated list of all AT parser commands available on the system. | | Displays a comma-separated list of all AT parser commands available on the system. |
| * Codebase Version: 0.3.0 | | * Codebase Version: 0.3.0 |
− | * Parameters: None | + | * Paramètres: Aucun |
− | * Output: A comma-separated list of all AT parser commands available on the system. | + | * Sortie: A comma-separated list of all AT parser commands available on the system. |
| | | |
| {{ambox-stop|text=The sample code below may not match future firmware releases and is provided for illustration purposes only}} | | {{ambox-stop|text=The sample code below may not match future firmware releases and is provided for illustration purposes only}} |
Ligne 44 : |
Ligne 44 : |
| | | |
| * Codebase Version: 0.7.0 | | * Codebase Version: 0.7.0 |
− | * Parameters: | + | * Paramètres: |
| ** offset: The numeric offset for the first byte from the starting position in the user NVM | | ** offset: The numeric offset for the first byte from the starting position in the user NVM |
| ** datatype: Which can be one of STRING (1), BYTEARRAY (2) or INTEGER (3) | | ** datatype: Which can be one of STRING (1), BYTEARRAY (2) or INTEGER (3) |
| ** data: The data to write to NVM memory (the exact payload format will change based on the specified datatype). | | ** data: The data to write to NVM memory (the exact payload format will change based on the specified datatype). |
− | * Output: Nothing | + | * Sortie: Nothing |
| | | |
| <nowiki># Write 32768 as an integer starting at byte 16 in user NVM | | <nowiki># Write 32768 as an integer starting at byte 16 in user NVM |
Ligne 57 : |
Ligne 57 : |
| Reads data from the 256 byte user non-volatile memory (NVM) region. | | Reads data from the 256 byte user non-volatile memory (NVM) region. |
| * Codebase Version: 0.7.0 | | * Codebase Version: 0.7.0 |
− | * Parameters: | + | * Paramètres: |
| ** offset: The numeric offset for the first byte from the starting position in the user NVM | | ** offset: The numeric offset for the first byte from the starting position in the user NVM |
| ** size: The number of bytes to read | | ** size: The number of bytes to read |
| ** datatype: The type used for the data being read, which is required to properly parse the data and display it as a response. The value can be one of STRING (1), BYTEARRAY (2) or INTEGER (3) | | ** datatype: The type used for the data being read, which is required to properly parse the data and display it as a response. The value can be one of STRING (1), BYTEARRAY (2) or INTEGER (3) |
− | * Output: The data read back, formatted based on the datatype argument. | + | * Sortie: The data read back, formatted based on the datatype argument. |
| | | |
| <nowiki># Read an integer back from position 16 in user NVM | | <nowiki># Read an integer back from position 16 in user NVM |
Ligne 71 : |
Ligne 71 : |
| Enables or disables mode switches via the '+++' command on the BLE peripheral of BLE UART side of the connection. | | Enables or disables mode switches via the '+++' command on the BLE peripheral of BLE UART side of the connection. |
| * Codebase Version: 0.7.1 | | * Codebase Version: 0.7.1 |
− | * Parameters: | + | * Paramètres: |
| ** location: This can be a string, either 'local' or 'ble' indicating which side should have the '+++' command enabled or disabled, 'local' being the Bluefruit peripheral and 'ble' being the phone or tablet. | | ** location: This can be a string, either 'local' or 'ble' indicating which side should have the '+++' command enabled or disabled, 'local' being the Bluefruit peripheral and 'ble' being the phone or tablet. |
| ** state: '0' to disable '+++' mode switches, '1' to enable them. | | ** state: '0' to disable '+++' mode switches, '1' to enable them. |
− | ** Output: None | + | ** Sortie: Aucun |
| | | |
| {{ambox|text=By default, '+++' is enabled locally, and disabled in BLE}} | | {{ambox|text=By default, '+++' is enabled locally, and disabled in BLE}} |