Bluetooth address structure (6 bytes)
More...
#include <BaseBluetooth.h>
|
| std::string | ToString () const |
| | Convert address to string format.
|
| |
| bool | FromString (const std::string &addr_str) |
| | Parse address from string.
|
| |
| bool | IsValid () const |
| | Check if address is valid (not all zeros)
|
| |
Bluetooth address structure (6 bytes)
◆ FromString()
| bool hf_bluetooth_address_t::FromString |
( |
const std::string & | addr_str | ) |
|
|
inline |
Parse address from string.
- Parameters
-
| addr_str | Address string in format "XX:XX:XX:XX:XX:XX" |
- Returns
- true if parsed successfully, false otherwise
◆ IsValid()
| bool hf_bluetooth_address_t::IsValid |
( |
| ) |
const |
|
inline |
Check if address is valid (not all zeros)
- Returns
- true if valid, false otherwise
◆ addr
| hf_u8_t hf_bluetooth_address_t::addr[6] |
The documentation for this struct was generated from the following file: