|
enum | ble9_dfu_reset_mode_t { BLE9_DFU_RESET_MODE_NORMAL = 0
, BLE9_DFU_RESET_MODE_UART
, BLE9_DFU_RESET_MODE_OTA
} |
|
enum | ble9_channel_t {
BLE9_CHANNEL_37 = 0
, BLE9_CHANNEL_38
, BLE9_CHANNEL_37_38
, BLE9_CHANNEL_39
,
BLE9_CHANNEL_37_39
, BLE9_CHANNEL_38_39
, BLE9_CHANNEL_ALL
} |
|
enum | ble9_phy_type_t { BLE9_PHY_TYPE_1M = 1
, BLE9_PHY_TYPE_2M
, BLE9_PHY_TYPE_CODED
, BLE9_PHY_TYPE_ANY = 0xFF
} |
|
enum | ble9_package_type_t { BLE9_PACKAGE_TYPE_ADVERTISING = 0
, BLE9_PACKAGE_TYPE_SCAN_RESPONSE
, BLE9_PACKAGE_TYPE_PERIODIC_ADVERTISING = 8
} |
|
enum | ble9_adv_mode_discoverable_t {
BLE9_ADVERTISER_MODE_DISCOVERABLE_NONE = 0
, BLE9_ADVERTISER_MODE_DISCOVERABLE_LIMITED
, BLE9_ADVERTISER_MODE_DISCOVERABLE_GENERAL
, BLE9_ADVERTISER_MODE_DISCOVERABLE_BROADCAST
,
BLE9_ADVERTISER_MODE_DISCOVERABLE_USER_DATA
} |
|
enum | ble9_adv_mode_connectable_t {
BLE9_ADVERTISER_MODE_CONNECTABLE_NONE = 0
, BLE9_ADVERTISER_MODE_CONNECTABLE_DIRECTED
, BLE9_ADVERTISER_MODE_CONNECTABLE_SCANNABLE
, BLE9_ADVERTISER_MODE_CONNECTABLE_NONE_CONNECTABLE
,
BLE9_ADVERTISER_MODE_CONNECTABLE_NONE_SCANABLE
} |
|
Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.
◆ ble9_adv_mode_connectable_t
Enumerator |
---|
BLE9_ADVERTISER_MODE_CONNECTABLE_NONE | Non-connectable non-scannable.
Directed connectable (RESERVED, DO NOT USE)
|
BLE9_ADVERTISER_MODE_CONNECTABLE_DIRECTED | Undirected connectable scannable. This mode can only be used in legacy advertising PDUs.
|
BLE9_ADVERTISER_MODE_CONNECTABLE_SCANNABLE | Undirected scannable (Non-connectable but responds to scan requests)
|
BLE9_ADVERTISER_MODE_CONNECTABLE_NONE_CONNECTABLE | Undirected connectable non-scannable. This mode can only be used in extended advertising PDUs.
|
BLE9_ADVERTISER_MODE_CONNECTABLE_NONE_SCANABLE | |
◆ ble9_adv_mode_discoverable_t
Enumerator |
---|
BLE9_ADVERTISER_MODE_DISCOVERABLE_NONE | Not discoverable.
Discoverable using both limited and general discovery procedures.
|
BLE9_ADVERTISER_MODE_DISCOVERABLE_LIMITED | Discoverable using general discovery procedure.
|
BLE9_ADVERTISER_MODE_DISCOVERABLE_GENERAL | Device is not discoverable in either limited or generic discovery procedure but may be discovered using the Observation procedure.
|
BLE9_ADVERTISER_MODE_DISCOVERABLE_BROADCAST | Send advertising and/or scan response data defined by the user. The limited/general discoverable flags are defined by the user.
|
BLE9_ADVERTISER_MODE_DISCOVERABLE_USER_DATA | |
◆ ble9_channel_t
Enumerator |
---|
BLE9_CHANNEL_37 | |
BLE9_CHANNEL_38 | |
BLE9_CHANNEL_37_38 | |
BLE9_CHANNEL_39 | |
BLE9_CHANNEL_37_39 | |
BLE9_CHANNEL_38_39 | |
BLE9_CHANNEL_ALL | |
◆ ble9_dfu_reset_mode_t
Predefined enum values for dfu reset.
Enumerator |
---|
BLE9_DFU_RESET_MODE_NORMAL | Boot to normal mode.
Boot to UART DFU mode.
|
BLE9_DFU_RESET_MODE_UART | Boot to OTA DFU mode.
|
BLE9_DFU_RESET_MODE_OTA | |
◆ ble9_package_type_t
Enumerator |
---|
BLE9_PACKAGE_TYPE_ADVERTISING | Advertising packets.
Scan response packets.
|
BLE9_PACKAGE_TYPE_SCAN_RESPONSE | Periodic advertising packets.
|
BLE9_PACKAGE_TYPE_PERIODIC_ADVERTISING | |
◆ ble9_phy_type_t
Enumerator |
---|
BLE9_PHY_TYPE_1M | (0x1) 1M PHY.
(0x1) 2M PHY.
|
BLE9_PHY_TYPE_2M | (0x4) Coded PHY, 125k (S=8) or 500k (S=2).
|
BLE9_PHY_TYPE_CODED | (0xFF) Any PHYs the device supports.
|
BLE9_PHY_TYPE_ANY | |