Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
from izot.examples.common.framework.framework import Framework 
from izot.examples.common.framework.framework import ApplicationType 

APP_NAME = 'The application name' 
APP_DESCRIPTION = 'The IzoT example application' 
APP_TYPE = ApplicationType.OTHER 
PROGRAM_ID='9F:FF:FF:05:00:00:00:00' 

def main(): 
	framework=Framework(APP_NAME,APP_TYPE,APP_DESCRIPTION,PROGRAM_ID) 

	framework.app_start() 

	done = False 
	while not done: 
		app.service(0.100) 

	app.stop()

...

namestyle Property

The Application object namestyle property namestyle property accepts valid values of "v1" and "v2". The default is "v2".

...