PreviousNext
appInfo
Help > Macros > Data blocks > appInfo

Macro

 

Store Application information from EEPROM to bufferINFO

Purpose

 

Get information about user application

Syntax

 

void appInfo()

Parameters

 

 –

Return value

 

 –

Output values

 

bufferINFO[0 to 31]

Preconditions

 

  –

Remarks

 

See IQRF OS User’s guide, chapter Identification, and Appendix Memory maps.

Side effects

 

  –

See also

 

moduleInfo

Example 1

 

appInfo();                 // Copy Application info from EEPROM to bufferINFO

copyBufferINFO2RF();      // and then to bufferRF

Example 2

 

#pragma packedCdataStrings 0       // Application data to EEPROM after compilation

#pragma cdata[__EEAPPINFO] = "Application data, I'm user #01  "

       ...

eeWriteByte(__EEAPPINFO+29, '2');  // #01 changed to #02
appInfo();                         // "Application data, I'm user #02  " is read