firmwareSandsara
Bluetooth Class Reference

Se encarga de gestionar la comunicacion por bluetooth. More...

#include <Bluetooth.h>

Public Member Functions

 Bluetooth ()
 
int init (String="Sandsara")
 

Static Public Member Functions

static void setPlaylistName (String)
 
static void setPathAmount (int)
 
static void setPathName (String)
 
static void setPathPosition (int)
 
static void setPlayMode (int)
 
static void setPathProgress (int)
 
static void setLedSpeed (int)
 
static void setCycleMode (int)
 
static void setLedDirection (int)
 
static void setBrightness (uint16_t)
 
static void setIndexPalette (int)
 
static void setRed ()
 
static void setGreen ()
 
static void setBlue ()
 
static void setPositions ()
 
static void setAmountOfColors ()
 
static void setVersion (String)
 
static void setName (String)
 
static void setStatus (int)
 
static void setMotorSpeed (int)
 
static void setPercentage (int)
 
static void setCalibrationStatus (bool)
 

Detailed Description

Se encarga de gestionar la comunicacion por bluetooth.

Parameters
timeOutBtes el tiempo, en milisegundos, que se va a esperar para recibir respuesta del dispositivo bluetooth conectado.
dataBtes donde se va a almacenar la informacion recibida.

Constructor & Destructor Documentation

◆ Bluetooth()

Bluetooth::Bluetooth ( )

Member Function Documentation

◆ init()

int Bluetooth::init ( String  name = "Sandsara")

◆ setAmountOfColors()

void Bluetooth::setAmountOfColors ( )
static

◆ setBlue()

void Bluetooth::setBlue ( )
static

◆ setBrightness()

void Bluetooth::setBrightness ( uint16_t  brightness)
static

◆ setCalibrationStatus()

void Bluetooth::setCalibrationStatus ( bool  calibrationStatus)
static

◆ setCycleMode()

void Bluetooth::setCycleMode ( int  cycleMode)
static

◆ setGreen()

void Bluetooth::setGreen ( )
static

◆ setIndexPalette()

void Bluetooth::setIndexPalette ( int  indexPalette)
static

◆ setLedDirection()

void Bluetooth::setLedDirection ( int  ledDirection)
static

◆ setLedSpeed()

void Bluetooth::setLedSpeed ( int  speed)
static

◆ setMotorSpeed()

void Bluetooth::setMotorSpeed ( int  speed)
static

◆ setName()

void Bluetooth::setName ( String  name)
static

◆ setPathAmount()

void Bluetooth::setPathAmount ( int  pathAmount)
static

◆ setPathName()

void Bluetooth::setPathName ( String  pathName)
static

◆ setPathPosition()

void Bluetooth::setPathPosition ( int  pathPosition)
static

◆ setPathProgress()

static void Bluetooth::setPathProgress ( int  )
static

◆ setPercentage()

void Bluetooth::setPercentage ( int  percentage)
static

◆ setPlaylistName()

void Bluetooth::setPlaylistName ( String  playlistName)
static

◆ setPlayMode()

void Bluetooth::setPlayMode ( int  mode)
static

◆ setPositions()

void Bluetooth::setPositions ( )
static

◆ setRed()

void Bluetooth::setRed ( )
static

◆ setStatus()

void Bluetooth::setStatus ( int  status)
static

◆ setVersion()

void Bluetooth::setVersion ( String  version)
static

The documentation for this class was generated from the following files: