#include "sbgEComCmdSettings.h"#include "transfer/sbgEComTransfer.h"#include <streamBuffer/sbgStreamBuffer.h>
Go to the source code of this file.
Functions | |
| SbgErrorCode | sbgEComCmdExportSettings (SbgEComHandle *pHandle, void *pBuffer, size_t *pSize, size_t maxSize) |
| SbgErrorCode | sbgEComCmdImportSettings (SbgEComHandle *pHandle, const void *pBuffer, size_t size) |
| SbgErrorCode | sbgEComCmdSettingsAction (SbgEComHandle *pHandle, SbgEComSettingsAction action) |
| SbgErrorCode sbgEComCmdExportSettings | ( | SbgEComHandle * | pHandle, |
| void * | pBuffer, | ||
| size_t * | pSize, | ||
| size_t | maxSize | ||
| ) |
Retrieve a complete set of settings from the device as a buffer.
| [in] | pHandle | A valid sbgECom handle. |
| [in] | pBuffer | Allocated buffer that can hold the received settings. |
| [out] | pSize | The number of bytes that have been stored into pBuffer. |
| [in] | maxSize | The maximum buffer size in bytes that can be stored into pBuffer. |
Definition at line 96 of file sbgEComCmdSettings.c.
| SbgErrorCode sbgEComCmdImportSettings | ( | SbgEComHandle * | pHandle, |
| const void * | pBuffer, | ||
| size_t | size | ||
| ) |
Send a complete set of settings to the device and store them into the FLASH memory. The device will reboot automatically to use the new settings.
| [in] | pHandle | A valid sbgECom handle. |
| [in] | pBuffer | Read only buffer containing the settings. |
| [in] | size | Size of the buffer. |
Definition at line 80 of file sbgEComCmdSettings.c.
| SbgErrorCode sbgEComCmdSettingsAction | ( | SbgEComHandle * | pHandle, |
| SbgEComSettingsAction | action | ||
| ) |
Execute one of the available settings action :
| [in] | pHandle | A valid sbgECom handle. |
| [in] | action | One of the available SbgEComSettingsAction. |
Definition at line 18 of file sbgEComCmdSettings.c.