iBeacon application
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
#include "platform_files.h"
#include "bm_mode.h"
#include "bm_application_mode.h"
#include "bm_utils.h"
#include "event_mem.h"
#include "ble_api.h"
#include "platform.h"
#include "ble_manager.h"
#include "ibeacon_app.h"
Functions | |
static ble_status_t | app_adv_report_cb (event_msg_t *msg) |
static ble_status_t | app_cmd_complete_cb (event_msg_t *msg) |
static ble_status_t | app_config_mode_status_cb (event_msg_t *msg) |
static void | app_ibeacon_init (void) |
static void | app_init (void) |
static ble_status_t | app_le_end_test_result_cb (event_msg_t *msg) |
static ble_status_t | app_status_report_cb (event_msg_t *msg) |
void | button_cb (void) |
int | main (void) |
Variables | |
static const ble_common_event_cb_t | app_common_event_handle |
static const ble_gap_event_cb_t | app_gap_event_handle |
uint8_t | event_buf [EVENT_BUFFER_LENGTH] |
event_t | evt_param = {.event_msg.data = event_buf, .event_msg.data_len = 0, .event_id = 0} |
|
static |
References BLE_SUCCESS.
|
static |
References BLE_SUCCESS.
|
static |
References BLE_SUCCESS.
|
static |
|
static |
References app_ibeacon_init(), BLE_COMMON_EVENT_TYPE, BLE_GAP_EVENT_TYPE, and ble_mgr_events_register_callback().
Referenced by main().
|
static |
References BLE_SUCCESS.
|
static |
References BLE_SUCCESS.
void button_cb | ( | void | ) |
int main | ( | void | ) |
References app_init(), ble_mgr_device_init(), ble_mgr_get_event(), DBG_LOG, event_buf, serial_console_init(), and system_init().
|
static |
|
static |
uint8_t event_buf[EVENT_BUFFER_LENGTH] |
event_t evt_param = {.event_msg.data = event_buf, .event_msg.data_len = 0, .event_id = 0} |