Basic Hello World

Displays Hello World! on a ZentriOS terminal.

API Features Demonstrated

This demonstrates the basic structure of a ZentriOS app.

Platforms

This app works on:

Requirements and Prerequisites

This app requires a ZentriOS device.

Description

This app prints the text Hello World! to the log bus which can be viewed on a ZentriOS terminal.

See Application Development, ZentriOS Application Structure.

zn_app_init

Initialization. Logs a line of text. No events are set up. With no events to process the next function executed is zn_app_idle.

zn_app_idle

Event loop idle handling. In this case returns ZOS_FALSE so the app exits after executing zn_app_deinit.

zn_app_deinit

Cleanup prior to exit. In this case does nothing.

Source

See: