iOSのBLEコントローラアプリ「RCBController」と接続し、コントローラの操作を取得するサンプルプログラムです。 mbed HRM1017で動作を確認しています。

Dependencies:   BLE_API_Native_IRC BLE_API mbed

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_attr_md_t Struct Reference

ble_gatts_attr_md_t Struct Reference
[Structures]

Attribute metadata. More...

#include <ble_gatts.h>

Data Fields

ble_gap_conn_sec_mode_t read_perm
 Read permissions.
ble_gap_conn_sec_mode_t write_perm
 Write permissions.
uint8_t vlen:1
 Variable length attribute.
uint8_t vloc:2
 Value location, see GATT Value Locations.
uint8_t rd_auth:1
 Read Authorization and value will be requested from the application on every read operation.
uint8_t wr_auth:1
 Write Authorization will be requested from the application on every Write Request operation (but not Write Command).

Detailed Description

Attribute metadata.

Definition at line 127 of file ble_gatts.h.


Field Documentation

uint8_t rd_auth

Read Authorization and value will be requested from the application on every read operation.

Definition at line 133 of file ble_gatts.h.

Read permissions.

Definition at line 129 of file ble_gatts.h.

uint8_t vlen

Variable length attribute.

Definition at line 131 of file ble_gatts.h.

uint8_t vloc

Value location, see GATT Value Locations.

Definition at line 132 of file ble_gatts.h.

uint8_t wr_auth

Write Authorization will be requested from the application on every Write Request operation (but not Write Command).

Definition at line 134 of file ble_gatts.h.

Write permissions.

Definition at line 130 of file ble_gatts.h.