1. Home
  2. Sorce Documentation
  3. Arduino Utils
  4. RemoteMeMessagesUtils

RemoteMeMessagesUtils

RemoteMeMessagesUtils class

 

It helps making data array by putting into array values such as int32, long, String.etc

 

sourceCode

 

Prepare
 
 
Functions
 

available putFunctions:

All put functions takes three arguments:

  • data – uint8_t* – buffer where data will be send
  • pos – uint16_t value by reference when current position is read and write new position
  • dataToSave – data which will be send to buffer

Example of use:

 

get functions

Each get (except getArray) function took 2 parameters:

  • data  uint8_t*  array from where data will be read
  • pos – uint16_t value by reference when current pos is read and write new position

getarray tooks length uint16_t as the third parameter

Example of use: