Reworked BLE according to v0.11 of the KTag Beacon Specification #2
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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]);
|
Loading…
Add table
Add a link
Reference in a new issue