20#ifndef H_BLE_EDDYSTONE_
21#define H_BLE_EDDYSTONE_
35struct ble_hs_adv_fields;
37#define BLE_EDDYSTONE_MAX_UUIDS16 3
38#define BLE_EDDYSTONE_URL_MAX_LEN 17
40#define BLE_EDDYSTONE_URL_SCHEME_HTTP_WWW 0
41#define BLE_EDDYSTONE_URL_SCHEME_HTTPS_WWW 1
42#define BLE_EDDYSTONE_URL_SCHEME_HTTP 2
43#define BLE_EDDYSTONE_URL_SCHEME_HTTPS 3
45#define BLE_EDDYSTONE_URL_SUFFIX_COM_SLASH 0x00
46#define BLE_EDDYSTONE_URL_SUFFIX_ORG_SLASH 0x01
47#define BLE_EDDYSTONE_URL_SUFFIX_EDU_SLASH 0x02
48#define BLE_EDDYSTONE_URL_SUFFIX_NET_SLASH 0x03
49#define BLE_EDDYSTONE_URL_SUFFIX_INFO_SLASH 0x04
50#define BLE_EDDYSTONE_URL_SUFFIX_BIZ_SLASH 0x05
51#define BLE_EDDYSTONE_URL_SUFFIX_GOV_SLASH 0x06
52#define BLE_EDDYSTONE_URL_SUFFIX_COM 0x07
53#define BLE_EDDYSTONE_URL_SUFFIX_ORG 0x08
54#define BLE_EDDYSTONE_URL_SUFFIX_EDU 0x09
55#define BLE_EDDYSTONE_URL_SUFFIX_NET 0x0a
56#define BLE_EDDYSTONE_URL_SUFFIX_INFO 0x0b
57#define BLE_EDDYSTONE_URL_SUFFIX_BIZ 0x0c
58#define BLE_EDDYSTONE_URL_SUFFIX_GOV 0x0d
59#define BLE_EDDYSTONE_URL_SUFFIX_NONE 0xff
78 void *uid, int8_t measured_power);
105 uint8_t url_scheme,
char *url_body,
106 uint8_t url_body_len, uint8_t suffix,
107 int8_t measured_power);
int ble_eddystone_set_adv_data_url(struct ble_hs_adv_fields *adv_fields, uint8_t url_scheme, char *url_body, uint8_t url_body_len, uint8_t suffix, int8_t measured_power)
Definition ble_eddystone.c:141
int ble_eddystone_set_adv_data_uid(struct ble_hs_adv_fields *adv_fields, void *uid, int8_t measured_power)
Definition ble_eddystone.c:110