iOSのBLEコントローラアプリ「RCBController」と接続し、コントローラの操作を取得するサンプルプログラムです。
mbed HRM1017で動作を確認しています。
Dependencies:
BLE_API_Native_IRC
BLE_API
mbed
« Back to documentation index
Structures
Data Structures
struct ble_gap_addr_t
Bluetooth Low Energy address. More...
struct ble_gap_conn_params_t
GAP connection parameters. More...
struct ble_gap_conn_sec_mode_t
GAP link requirements. More...
struct ble_gap_conn_sec_t
GAP connection security status. More...
struct ble_gap_irk_t
Identity Resolving Key. More...
struct ble_gap_whitelist_t
Whitelist structure. More...
struct ble_gap_adv_params_t
GAP advertising parameters. More...
struct ble_gap_scan_params_t
GAP scanning parameters. More...
struct ble_gap_sec_params_t
GAP security parameters. More...
struct ble_gap_enc_info_t
GAP Encryption Information. More...
struct ble_gap_master_id_t
GAP Master Identification. More...
struct ble_gap_id_info_t
GAP Identity Information. More...
struct ble_gap_sign_info_t
GAP Signing Information. More...
Enumerations
enum BLE_GAP_EVTS {
BLE_GAP_EVT_CONNECTED = BLE_GAP_EVT_BASE,
BLE_GAP_EVT_DISCONNECTED ,
BLE_GAP_EVT_CONN_PARAM_UPDATE ,
BLE_GAP_EVT_SEC_PARAMS_REQUEST ,
BLE_GAP_EVT_SEC_INFO_REQUEST ,
BLE_GAP_EVT_PASSKEY_DISPLAY ,
BLE_GAP_EVT_AUTH_KEY_REQUEST ,
BLE_GAP_EVT_AUTH_STATUS ,
BLE_GAP_EVT_CONN_SEC_UPDATE ,
BLE_GAP_EVT_TIMEOUT ,
BLE_GAP_EVT_RSSI_CHANGED
}
GAP Event IDs.
More...
enum BLE_GAP_OPTS { BLE_GAP_OPT_LOCAL_CONN_LATENCY = BLE_GAP_OPT_BASE,
BLE_GAP_OPT_PASSKEY ,
BLE_GAP_OPT_PRIVACY
}
GAP Option IDs.
More...
Enumeration Type Documentation
GAP Event IDs.
Those IDs uniquely identify an event coming from the stack to the application.
Enumerator:
BLE_GAP_EVT_CONNECTED
Connection established.
BLE_GAP_EVT_DISCONNECTED
Disconnected from peer.
BLE_GAP_EVT_CONN_PARAM_UPDATE
Connection Parameters updated.
BLE_GAP_EVT_SEC_PARAMS_REQUEST
Request to provide security parameters.
BLE_GAP_EVT_SEC_INFO_REQUEST
Request to provide security information.
BLE_GAP_EVT_PASSKEY_DISPLAY
Request to display a passkey to the user.
BLE_GAP_EVT_AUTH_KEY_REQUEST
Request to provide an authentication key.
BLE_GAP_EVT_AUTH_STATUS
Authentication procedure completed with status.
BLE_GAP_EVT_CONN_SEC_UPDATE
Connection security updated.
BLE_GAP_EVT_TIMEOUT
Timeout expired.
BLE_GAP_EVT_RSSI_CHANGED
Signal strength measurement report.
Definition at line 435 of file ble_gap.h .
GAP Option IDs.
IDs that uniquely identify a GAP option.
Enumerator:
BLE_GAP_OPT_LOCAL_CONN_LATENCY
Local connection latency.
BLE_GAP_OPT_PASSKEY
Set passkey to be used during pairing.
This option can be used to make the SoftDevice use an application provided passkey instead of generating a random passkey.
BLE_GAP_OPT_PRIVACY
Set or get custom IRK or custom private address cycle interval.
Definition at line 455 of file ble_gap.h .