Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki(https://github.com/sevencore/BLEFOTA).

Dependencies:   mbed

Fork of mbed_fota by KIM HyoengJun

Embed: (wiki syntax)

« Back to documentation index

gap.h File Reference

gap.h File Reference

Generic Access Profile. More...

Go to the source code of this file.

Data Structures

struct  gap_sec_key
 Generic Security key structure. More...
struct  gap_bdaddr
 Address information about a device address. More...

Enumerations

enum  gap_adv_mode { GAP_NON_DISCOVERABLE, GAP_GEN_DISCOVERABLE, GAP_LIM_DISCOVERABLE, GAP_BROADCASTER_MODE }
 

Advertising mode.

More...
enum  gap_role {
  GAP_NO_ROLE = 0x00, GAP_OBSERVER_SCA = 0x01, GAP_BROADCASTER_ADV = 0x02, GAP_CENTRAL_MST = (0x04 | GAP_OBSERVER_SCA),
  GAP_PERIPHERAL_SLV = (0x08 | GAP_BROADCASTER_ADV)
}
 

Role GAP.

More...
enum  gap_auth_mask { GAP_AUTH_NONE = 0, GAP_AUTH_BOND = (1 << 0), GAP_AUTH_MITM = (1 << 2) }
 

Authentication mask.

More...
enum  gap_auth { GAP_AUTH_REQ_NO_MITM_NO_BOND = (GAP_AUTH_NONE), GAP_AUTH_REQ_NO_MITM_BOND = (GAP_AUTH_BOND), GAP_AUTH_REQ_MITM_NO_BOND = (GAP_AUTH_MITM), GAP_AUTH_REQ_MITM_BOND = (GAP_AUTH_MITM | GAP_AUTH_BOND) }
 

Authentication Requirements.

More...
enum  gap_authz { GAP_AUTHZ_NOT_SET = 0x00, GAP_AUTHZ_ACCEPT = 0x01, GAP_AUTHZ_REJECT = 0x02 }
 

Authorization setting.

More...

Detailed Description

Generic Access Profile.

Copyright 2015 SEVENCORE Co., Ltd.

Author:
HyeongJun Kim
Version:
1.0.0
Date:
2015-08-20

Definition in file gap.h.