Changes between Version 2 and Version 3 of UsingSensors

Changes between Version 2 and Version 3 of UsingSensors

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 2 and Version 3 of UsingSensors

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 2 and Version 3 of UsingSensors

Show
Ignore:
Timestamp:
07/24/12 07:21:47 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingSensors

    v2 v3  
    4141  sys.exit(1) 
    4242     
    43 import iwlistlib 
    44  
    4543 
    4644def isSeattleSensor(): 
    4745  return True 
    4846 
    49 # NOTE: the system.* calls are defined by the !SimpleXMLRPCServer in Python.   Your library's use may vary. 
    5047 
    5148def mySensorName(): 
     
    6663 
    6764 
     65# NOTE: the system.* calls are defined by the !SimpleXMLRPCServer in Python by calling the following.   Your library's use may vary. 
    6866server.register_introspection_functions() 
     67 
    6968server.register_function(mySensorName) 
    7069server.register_function(readSensor)