C++ Pixels Library For Windows
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
Systemic::Pixels::ScannedPixelData Struct Reference

Data for ScannedPixel class. More...

#include <ScannedPixel.h>

Public Types

using Date = PixelInfo::Date
 Type for a system Date.
 

Public Attributes

bluetooth_address_t address {}
 The Bluetooth address for the Pixel.
 
pixel_id_t pixelId {}
 The unique Pixel id of the device.
 
std::wstring name {}
 The Pixel name.
 
int ledCount {}
 The number of LEDs of the Pixel.
 
PixelDesignAndColor designAndColor {}
 The Pixel design and color.
 
Date firmwareDate {}
 The firmware build date of the Pixel.
 
int rssi {}
 The last RSSI value measured by this Pixel.
 
int batteryLevel {}
 The Pixel battery level (percentage).
 
bool isCharging {}
 
PixelRollState rollState {}
 The Pixel roll state.
 
int currentFace {}
 The Pixel face value that is currently facing up.
 

Detailed Description

Data for ScannedPixel class.

Note
: All the fields are written atomically

Member Data Documentation

◆ isCharging

bool Systemic::Pixels::ScannedPixelData::isCharging {}

Whether the Pixel battery is charging or not. Set to 'true' if fully charged but still on charger.


The documentation for this struct was generated from the following file: