summaryrefslogtreecommitdiff
path: root/src/eir.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-03 15:18:20 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-03 22:42:07 +0300
commit9b936c7dd00053cbe0957aa60fe835f24c5b446f (patch)
treecee356f15f7dc7b725d01fe76baeaf20ee2a41b7 /src/eir.h
parent9d8b2330859f377c310a80202059d2c70f8422ac (diff)
downloadbluez-9b936c7dd00053cbe0957aa60fe835f24c5b446f.tar.gz
eir: Rename eir_create to eir_create_oob
With mgmt interface EIR is created by kernel. Renaming this function makes it clear what is a purpose of it in userspace. It also contains support for EIR data types that shall be transmitted only over OOB channel.
Diffstat (limited to 'src/eir.h')
-rw-r--r--src/eir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eir.h b/src/eir.h
index 1c7a603e9..55289f94a 100644
--- a/src/eir.h
+++ b/src/eir.h
@@ -58,7 +58,7 @@ struct eir_data {
void eir_data_free(struct eir_data *eir);
int eir_parse(struct eir_data *eir, uint8_t *eir_data, uint8_t eir_len);
int eir_parse_oob(struct eir_data *eir, uint8_t *eir_data, uint16_t eir_len);
-void eir_create(const char *name, int8_t tx_power, uint32_t cod,
+void eir_create_oob(const char *name, int8_t tx_power, uint32_t cod,
uint8_t *hash, uint8_t *randomizer,
uint16_t did_vendor, uint16_t did_product,
uint16_t did_version, uint16_t did_source,