MetaWear C++ API
0.18.0
C++ implementation of the MetaWear protocol
|
Configures iBeacon mode. More...
Go to the source code of this file.
Functions | |
METAWEAR_API void | mbl_mw_ibeacon_set_major (const MblMwMetaWearBoard *board, uint16_t major) |
Sets the iBeacon advertising major number. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_major_signal (MblMwMetaWearBoard *board, const MblMwDataSignal *major) |
Sets the iBeacon advertising major number. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_minor (const MblMwMetaWearBoard *board, uint16_t minor) |
Sets the iBeacon advertising minor number. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_minor_signal (MblMwMetaWearBoard *board, const MblMwDataSignal *minor) |
Sets the iBeacon advertising minor number. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_period (const MblMwMetaWearBoard *board, uint16_t period) |
Sets the iBeacon advertising period. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_tx_power (const MblMwMetaWearBoard *board, int8_t tx_power) |
Sets the iBeacon advertising transmitting power. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_rx_power (const MblMwMetaWearBoard *board, int8_t rx_power) |
Sets the iBeacon advertising receiving power. More... | |
METAWEAR_API void | mbl_mw_ibeacon_set_uuid (const MblMwMetaWearBoard *board, uint8_t ad_uuid[16]) |
Sets the iBeacon advertising UUID. More... | |
METAWEAR_API void | mbl_mw_ibeacon_enable (const MblMwMetaWearBoard *board) |
Enables iBeacon mode. More... | |
METAWEAR_API void | mbl_mw_ibeacon_disable (const MblMwMetaWearBoard *board) |
Disables iBeacon mode. More... | |
Configures iBeacon mode.
METAWEAR_API void mbl_mw_ibeacon_disable | ( | const MblMwMetaWearBoard * | board | ) |
Disables iBeacon mode.
board | Pointer to the board to send the command to |
METAWEAR_API void mbl_mw_ibeacon_enable | ( | const MblMwMetaWearBoard * | board | ) |
Enables iBeacon mode.
You will need to disconnect from the board to advertise as an iBeacon
board | Pointer to the board to send the command to |
METAWEAR_API void mbl_mw_ibeacon_set_major | ( | const MblMwMetaWearBoard * | board, |
uint16_t | major | ||
) |
Sets the iBeacon advertising major number.
board | Pointer to the board to send the command to |
major | New advertising major number |
METAWEAR_API void mbl_mw_ibeacon_set_major_signal | ( | MblMwMetaWearBoard * | board, |
const MblMwDataSignal * | major | ||
) |
Sets the iBeacon advertising major number.
board | Pointer to the board to send the command to |
major | DataSignal output to use as the new major number |
METAWEAR_API void mbl_mw_ibeacon_set_minor | ( | const MblMwMetaWearBoard * | board, |
uint16_t | minor | ||
) |
Sets the iBeacon advertising minor number.
board | Pointer to the board to send the command to |
minor | New advertising minor number |
METAWEAR_API void mbl_mw_ibeacon_set_minor_signal | ( | MblMwMetaWearBoard * | board, |
const MblMwDataSignal * | minor | ||
) |
Sets the iBeacon advertising minor number.
board | Pointer to the board to send the command to |
minor | DataSignal output to use as the new minor number |
METAWEAR_API void mbl_mw_ibeacon_set_period | ( | const MblMwMetaWearBoard * | board, |
uint16_t | period | ||
) |
Sets the iBeacon advertising period.
board | Pointer to the board to send the command to |
period | New advertising period, in milliseconds |
METAWEAR_API void mbl_mw_ibeacon_set_rx_power | ( | const MblMwMetaWearBoard * | board, |
int8_t | rx_power | ||
) |
Sets the iBeacon advertising receiving power.
board | Pointer to the board to send the command to |
rx_power | New advertising receiving power |
METAWEAR_API void mbl_mw_ibeacon_set_tx_power | ( | const MblMwMetaWearBoard * | board, |
int8_t | tx_power | ||
) |
Sets the iBeacon advertising transmitting power.
board | Pointer to the board to send the command to |
tx_power | New advertising transmitting power |
METAWEAR_API void mbl_mw_ibeacon_set_uuid | ( | const MblMwMetaWearBoard * | board, |
uint8_t | ad_uuid[16] | ||
) |
Sets the iBeacon advertising UUID.
board | Pointer to the board to send the command to |
ad_uuid | Byte representation of the UUID in little endian ordering |