AltBeacon Application Declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | ALT_BEACON_16BYTE_UUID ("\x00\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\x80\x5f\x9b\x34\xfb") |
#define | ALT_BEACON_16BYTE_UUID_LENGTH (0x10) |
#define | ALT_BEACON_2BYTE_LEN (0x02) |
#define | ALT_BEACON_ABSOLUTE_INTERVAL_ADV (1) |
#define | ALT_BEACON_ADV_LENGTH (0x1b) |
#define | ALT_BEACON_ADV_TIMEOUT (0) |
#define | ALT_BEACON_ADV_TYPE_LENGTH (0x01) |
#define | ALT_BEACON_CODE ("\xbe\xac") |
#define | ALT_BEACON_CODE_LENGTH (0x02) |
#define | ALT_BEACON_MAJOR_NUM ("\x00\x01") |
#define | ALT_BEACON_MINOR_NUM ("\x00\x01") |
#define | ALT_BEACON_SCAN_RESPONSE_LENGTH (0x00) |
#define | DBG_LOG |
#define | MANUFACTURER_ID ("\x13\x00") |
#define | MANUFACTURER_ID_LENGTH (0x02) |
#define | MANUFACTURER_SPECIFIC_TYPE (0xff) |
#define | MFG_RSVD (0x00) |
#define | REF_RSSI (0xd3) |
Functions | |
static void | altbeacon_init (void) |
Initialize the AltBeacon advertisement data and start advertisement. More... | |
static void | ble_init (void) |
Initialize the ble module. More... | |
static void | ble_set_address (at_ble_addr_t *addr) |
Set BLE address. More... | |
#define ALT_BEACON_16BYTE_UUID ("\x00\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\x80\x5f\x9b\x34\xfb") |
Referenced by altbeacon_init().
#define ALT_BEACON_16BYTE_UUID_LENGTH (0x10) |
Referenced by altbeacon_init().
#define ALT_BEACON_2BYTE_LEN (0x02) |
Referenced by altbeacon_init().
#define ALT_BEACON_ABSOLUTE_INTERVAL_ADV (1) |
Referenced by altbeacon_init().
#define ALT_BEACON_ADV_LENGTH (0x1b) |
Referenced by altbeacon_init().
#define ALT_BEACON_ADV_TIMEOUT (0) |
Referenced by altbeacon_init().
#define ALT_BEACON_ADV_TYPE_LENGTH (0x01) |
Referenced by altbeacon_init().
#define ALT_BEACON_CODE ("\xbe\xac") |
Referenced by altbeacon_init().
#define ALT_BEACON_CODE_LENGTH (0x02) |
Referenced by altbeacon_init().
#define ALT_BEACON_MAJOR_NUM ("\x00\x01") |
Referenced by altbeacon_init().
#define ALT_BEACON_MINOR_NUM ("\x00\x01") |
Referenced by altbeacon_init().
#define ALT_BEACON_SCAN_RESPONSE_LENGTH (0x00) |
Referenced by altbeacon_init().
#define DBG_LOG |
Referenced by alert_service_discovery(), altbeacon_init(), anp_alert_category(), anp_alert_notify_response(), anp_alert_read_response(), anp_alert_type(), anp_client_adv(), anp_client_characteristic_found_handler(), anp_client_connected_state_handler(), anp_client_descriptor_found_handler(), anp_client_disable_notification(), anp_client_discovery_complete_handler(), anp_client_init(), anp_client_notification_handler(), anp_client_service_found_handler(), anp_client_write_notification_handler(), anp_custom_event(), anp_info_connect_handler(), app_alert_status_notify(), app_alert_status_read(), app_connect_request(), app_connected_event_handler(), app_disconnected_event_handler(), app_encryption_status_changed_handler(), app_error(), app_htpt_cfg_indntf_ind_handler(), app_htpt_create_db_cfm_handler(), app_htpt_disable_ind_handler(), app_htpt_enable_rsp_handler(), app_htpt_error_ind_handler(), app_htpt_meas_intv_chg_ind_handler(), app_htpt_temp_send_cfm(), app_immediate_alert(), app_indication_confirmation_handler(), app_indication_handler(), app_init(), app_linkloss_alert(), app_no_device_found_handler(), app_notification_handler(), app_pair_done_event_handler(), app_pathloss_alert(), app_reset_handler(), app_ringer_setting_notify(), app_ringer_setting_read(), at_app_send_lecb(), bat_custom_event(), bat_update_char_value(), battery_service_advertise(), battery_set_advertisement_data(), battery_simulation_task(), battery_start_advertisement(), beacon_init(), ble_adv_report_app_event(), ble_advertisement_data_set(), ble_bat_process(), ble_bat_profile_init(), ble_bat_start_advertise(), ble_conn_param_update(), ble_connected_app_event(), ble_connected_state_handler(), ble_csc_init(), ble_device_config(), ble_device_dead_handler(), ble_device_init(), ble_device_out_of_sync_handler(), ble_disconnected_app_event(), ble_disconnected_state_handler(), ble_encryption_request_handler(), ble_encryption_status_change_handler(), ble_event_manager(), ble_heart_rate_process(), ble_heart_rate_profile_init(), ble_heart_rate_start_advertise(), ble_init(), ble_l2cap_connected(), ble_mtu_changed_cmd_complete_handler(), ble_observer_custom_event(), ble_observer_scan_data_handler(), ble_observer_scan_info_handler(), ble_pair_done_handler(), ble_pair_key_request_handler(), ble_pair_request_handler(), ble_resolv_rand_addr_handler(), ble_scan_info(), ble_scan_info_handler(), ble_scan_report_app_event(), ble_scan_report_handler(), ble_sdk_version(), ble_send_slave_sec_request(), ble_set_address(), ble_set_dev_config(), ble_slave_security_handler(), ble_slave_security_request_handler(), ble_trans_char_changed_event(), ble_trans_service_advertise(), ble_trans_service_send_buf(), blp_char_indication(), blp_char_notification(), blp_disconnection(), blp_sensor_adv(), blp_sensor_app_custom_event(), blp_sensor_init(), blp_sensor_send_indication(), blp_sensor_send_notification(), blp_sensor_service_define(), brd_adv_init(), brd_set_advertisement_data(), brd_set_advertisement_type(), brd_start_broadcast(), csc_app_recv_buf(), csc_app_send_buf(), csc_prf_connected_state_handler(), csc_prf_dev_adv(), csc_prf_disconnect_event_handler(), csc_prf_discovery_complete_handler(), csc_prf_init(), csc_prf_report_ntf_cb(), csc_prf_write_notification_handler(), csc_serv_send_data(), device_information_advertise(), dis_custom_event(), dis_info_update(), display_alert_status_info(), eddystone_adv_start(), eddystone_app_init(), eddystone_create_url_frame(), eddystone_custom_event(), esurl_char_changed_event(), esurl_dev_disconnected_event(), esurl_paired_event(), esurl_write_authorize_event(), fmp_locator_discovery_complete_handler(), fmp_locator_service_discover(), fmp_locator_service_found_handler(), fmp_target_adv(), fmp_target_connected_state_handler(), fmp_target_disconnect_event_handler(), fmp_target_service_define(), gap_dev_scan(), hid_keyboard_app_init(), hid_mouse_app_init(), hid_prf_dev_adv(), hid_prf_disconnect_event_handler(), hid_serv_init(), hid_serv_report_update(), hid_service_dbreg(), hr_measurment_send(), hr_sensor_adv(), hr_sensor_app_custom_event(), hr_sensor_char_write_request(), hr_sensor_disconnect(), hr_sensor_init(), hr_sensor_send_notification(), hr_sensor_service_define(), htp_init(), htp_temperature_send(), htpt_set_advertisement_data(), l2cap_connected(), l2cap_credit_indication(), l2cap_data_recv(), l2cap_disconnect(), l2cap_send_resp(), lls_alert_read_response(), lls_set_alert_value(), main(), multirole_app_custom_event(), pas_client_adv(), pas_client_char_write_response_handler(), pas_client_discovery_complete_handler(), pas_client_init(), pas_client_service_found_handler(), pas_client_start_service_discovery(), pas_client_write_notifications(), pxp_app_init(), pxp_disconnect_event_handler(), pxp_monitor_app_button_event(), pxp_monitor_characteristic_found_handler(), pxp_monitor_connect_request(), pxp_monitor_discovery_complete_handler(), pxp_monitor_init(), pxp_monitor_pair_done_handler(), pxp_monitor_scan_data_handler(), pxp_monitor_service_discover(), pxp_monitor_service_found_handler(), pxp_monitor_start_scan(), pxp_reporter_adv(), pxp_reporter_connected_state_handler(), pxp_reporter_disconnect_event_handler(), pxp_service_define(), rssi_update(), sps_char_changed_event(), sps_custom_event(), sps_scan_refresh_char_update(), sps_service_advertise(), time_info_adv(), time_info_characteristic_read_response(), time_info_connected_state_handler(), time_info_disconnected_event_handler(), time_info_discovery_complete_handler(), time_info_service_discovery(), time_info_write_notification_handler(), tip_app_custom_event(), tis_current_time_noti(), tis_current_time_read_response(), tis_dst_change_read_response(), tis_rtu_update_read_response(), trans_update_ctrl_char_value(), trans_update_tx_char_value(), txps_power_read_response(), and update_blp_sensor_value().
#define MANUFACTURER_ID ("\x13\x00") |
Referenced by altbeacon_init().
#define MANUFACTURER_ID_LENGTH (0x02) |
Referenced by altbeacon_init().
#define MANUFACTURER_SPECIFIC_TYPE (0xff) |
Referenced by altbeacon_init().
#define MFG_RSVD (0x00) |
Referenced by altbeacon_init().
#define REF_RSSI (0xd3) |
Referenced by altbeacon_init().
|
static |
Initialize the AltBeacon advertisement data and start advertisement.
|
static |
Initialize the ble module.
|
static |
Set BLE address.
[in] | at_ble_addr_t | If address is NULL then it will use BD public address. |