Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_BleConstants.h
Go to the documentation of this file.
1/*
2 * Author: Crownstone Team
3 * Copyright: Crownstone (https://crownstone.rocks)
4 * Date: Nov 29, 2020
5 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6 */
7#pragma once
8#include <cstdint>
9
20enum BleCompanyId : uint16_t {
21 Apple = 0x004C,
22 Crownstone = 0x038E,
23 Tile = 0x067C,
24};
25
32enum BleServiceUuid : uint16_t {
33 TileX = 0xFEEC, // proprietary service of Tile, inc.
34 TileY = 0xFEED, // proprietary service of Tile, inc.
35 TileZ = 0xFD84, // proprietary service of Tile, inc.
36};
37
41constexpr uint8_t ADVERTISEMENT_DATA_MAX_SIZE = 31;
Crownstone encapsulates all functionality, stack, services, and configuration.
Definition: cs_Crownstone.h:60
BleServiceUuid
16 bit service UUIDs as found on the pages:
Definition: cs_BleConstants.h:32
@ TileY
Definition: cs_BleConstants.h:34
@ TileX
Definition: cs_BleConstants.h:33
@ TileZ
Definition: cs_BleConstants.h:35
BleCompanyId
Bluetooth company ids of devices that Crownstones integrate with or recognize.
Definition: cs_BleConstants.h:20
@ Tile
Definition: cs_BleConstants.h:23
@ Apple
Definition: cs_BleConstants.h:21
constexpr uint8_t ADVERTISEMENT_DATA_MAX_SIZE
Maximum length advertisement data.
Definition: cs_BleConstants.h:41