Added BLE_BROADCAST_ADDRESS

This commit is contained in:
Joe Kearney 2025-03-31 20:30:01 -05:00
parent cb72042691
commit eaef8247e5
2 changed files with 4 additions and 0 deletions

View file

@ -23,6 +23,8 @@
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
const uint8_t BLE_BROADCAST_ADDRESS[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
//! Converts a 6-byte Bluetooth Low Energy address to a human-readable string (for logging). //! Converts a 6-byte Bluetooth Low Energy address to a human-readable string (for logging).
/*! /*!
* \param bd_addr The Bluetooth address as a 6-byte array * \param bd_addr The Bluetooth address as a 6-byte array

View file

@ -19,4 +19,6 @@
* file in the root of this repository. If not, see <http://www.gnu.org/licenses/>. * file in the root of this repository. If not, see <http://www.gnu.org/licenses/>.
*/ */
extern const uint8_t BLE_BROADCAST_ADDRESS[6];
const char* BLE_ADDR_To_Str(const uint8_t bd_addr[6]); const char* BLE_ADDR_To_Str(const uint8_t bd_addr[6]);