Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_BleConstants.h File Reference
#include <cstdint>
Include dependency graph for cs_BleConstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  BleCompanyId : uint16_t { Apple = 0x004C , Crownstone = 0x038E , Tile = 0x067C }
 Bluetooth company ids of devices that Crownstones integrate with or recognize. More...
 
enum  BleServiceUuid : uint16_t { TileX = 0xFEEC , TileY = 0xFEED , TileZ = 0xFD84 }
 16 bit service UUIDs as found on the pages: More...
 

Variables

constexpr uint8_t ADVERTISEMENT_DATA_MAX_SIZE = 31
 Maximum length advertisement data. More...
 

Enumeration Type Documentation

◆ BleCompanyId

enum BleCompanyId : uint16_t

Bluetooth company ids of devices that Crownstones integrate with or recognize.

Naming convention:

  • Use the company name as mentioned on the bluetooth SIG website, and
  • strip off any suffixes such as inc., gov., bv. and the like.
  • Capitalization as codebase standard for enum values.

See https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers

Enumerator
Apple 
Crownstone 
Tile 

◆ BleServiceUuid

Variable Documentation

◆ ADVERTISEMENT_DATA_MAX_SIZE

constexpr uint8_t ADVERTISEMENT_DATA_MAX_SIZE = 31
constexpr

Maximum length advertisement data.