From b54610f099ca2f1d5470d1a461c8ada728385e85 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Tue, 15 Sep 2015 00:37:19 -0400 Subject: [PATCH] use the new function to compute protocol services supported rather than building one --- samples/SampleApplication.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/samples/SampleApplication.py b/samples/SampleApplication.py index f4ca085..70fbb59 100755 --- a/samples/SampleApplication.py +++ b/samples/SampleApplication.py @@ -80,6 +80,14 @@ try: # make a sample application this_application = SampleApplication(this_device, args.ini.address) + if _debug: _log.debug(" - this_application: %r", this_application) + + # get the services supported + services_supported = this_application.get_services_supported() + if _debug: _log.debug(" - services_supported: %r", services_supported) + + # let the device object know + this_device.protocolServicesSupported = services_supported.value _log.debug("running")