|
SmartSnippets DA1459x SDK
|
Device Information Service Client header file. More...
#include "sdk_defs.h"Go to the source code of this file.
Data Structures | |
| struct | dis_client_callbacks_t |
Enumerations | |
| enum | dis_client_cap_t { DIS_CLIENT_CAP_MANUFACTURER_NAME = 0x0001, DIS_CLIENT_CAP_MODEL_NUMBER = 0x0002, DIS_CLIENT_CAP_SERIAL_NUMBER = 0x0004, DIS_CLIENT_CAP_HARDWARE_REVISION = 0x0008, DIS_CLIENT_CAP_FIRMWARE_REVISION = 0x0010, DIS_CLIENT_CAP_SOFTWARE_REVISION = 0x0020, DIS_CLIENT_CAP_SYSTEM_ID = 0x0040, DIS_CLIENT_CAP_REG_CERT = 0x0080, DIS_CLIENT_CAP_PNP_ID = 0x0100 } |
Functions | |
| ble_client_t * | dis_client_init (const dis_client_callbacks_t *cb, const ble_evt_gattc_browse_svc_t *evt) |
| Register DIS Client instance. More... | |
| dis_client_cap_t | dis_client_get_capabilities (ble_client_t *dis_client) |
| Get DIS capabilities. More... | |
| bool | dis_client_read (ble_client_t *dis_client, dis_client_cap_t capability) |
| Read DIS capability (supported characteristic) More... | |
| ble_client_t * | dis_client_init_from_data (uint16_t conn_idx, const dis_client_callbacks_t *cb, const void *data, size_t length) |
| Initialize and register DIS Client instance from data buffer. More... | |
Variables | |
| typedef | __PACKED_STRUCT |
Device Information Service Client header file.
Copyright (C) 2015-2019 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.
This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.
THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.
1.8.16