Set of APIs for the debug-print plugin.See debug-print.h for source code. More...

Functions

bool emberAfPrintEnabled (uint16_t area)
Indicates whether a printing area is enabled. More...
void emberAfPrintOn (uint16_t userArea)
Enables a printing area. More...
void emberAfPrintOff (uint16_t userArea)
Disables a printing area. More...
void emberAfPrintAllOn (void)
Enables all printing areas. More...
void emberAfPrintAllOff (void)
Disables all printing areas. More...
void emberAfPrintStatus (void)
Prints the status of the printing areas. More...
void emberAfPrint (uint16_t area, PGM_P formatString,...)
Prints a formatted message. More...
void emberAfPrintln (uint16_t area, PGM_P formatString,...)
Prints a formatted message followed by a newline. More...
void emberAfPrintBuffer (uint16_t area, const uint8_t *buffer, uint16_t bufferLen, bool withSpace)
Prints a buffer as a series of bytes in hexidecimal format. More...
void emberAfPrintBigEndianEui64 (const EmberEUI64 eui64)
Prints an EUI64 (IEEE address) in big-endian format. More...
void emberAfPrintLittleEndianEui64 (const EmberEUI64 eui64)
Prints an EUI64 (IEEE address) in little-endian format. More...
void emberAfPrintKey (const uint8_t *key)
Prints a 16-byte key. More...
void emberAfFlush (uint16_t area)
Waits for all data currently queued to be transmitted. More...

Variables

uint16_t emberAfPrintActiveArea

Detailed Description

Set of APIs for the debug-print plugin.

See debug-print.h for source code.

License

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

Function Documentation

void emberAfFlush ( uint16_t area )

Waits for all data currently queued to be transmitted.

void emberAfPrint ( uint16_t area,
PGM_P formatString,
...
)

Prints a formatted message.

void emberAfPrintAllOff ( void )

Disables all printing areas.

void emberAfPrintAllOn ( void )

Enables all printing areas.

void emberAfPrintBigEndianEui64 ( const EmberEUI64 eui64 )

Prints an EUI64 (IEEE address) in big-endian format.

void emberAfPrintBuffer ( uint16_t area,
const uint8_t * buffer,
uint16_t bufferLen,
bool withSpace
)

Prints a buffer as a series of bytes in hexidecimal format.

bool emberAfPrintEnabled ( uint16_t area )

Indicates whether a printing area is enabled.

void emberAfPrintKey ( const uint8_t * key )

Prints a 16-byte key.

void emberAfPrintLittleEndianEui64 ( const EmberEUI64 eui64 )

Prints an EUI64 (IEEE address) in little-endian format.

void emberAfPrintln ( uint16_t area,
PGM_P formatString,
...
)

Prints a formatted message followed by a newline.

void emberAfPrintOff ( uint16_t userArea )

Disables a printing area.

void emberAfPrintOn ( uint16_t userArea )

Enables a printing area.

void emberAfPrintStatus ( void )

Prints the status of the printing areas.

Variable Documentation

uint16_t emberAfPrintActiveArea