diff --git a/src/energenie/drv/radio_rpi.so b/src/energenie/drv/radio_rpi.so index 0129587..e7b100f 100755 --- a/src/energenie/drv/radio_rpi.so +++ b/src/energenie/drv/radio_rpi.so Binary files differ diff --git a/src/energenie/radio2.py b/src/energenie/radio2.py index da3c2dc..1d73eb7 100644 --- a/src/energenie/radio2.py +++ b/src/energenie/radio2.py @@ -16,8 +16,8 @@ #TODO: Should really add parameter validation here, so that C code doesn't have to. #although it will be faster in C (C could be made optional, like an assert?) -##LIBNAME = "drv/radio_rpi.so" -LIBNAME = "drv/radio_mac.so" # testing +LIBNAME = "drv/radio_rpi.so" +##LIBNAME = "drv/radio_mac.so" # testing import time import ctypes diff --git a/src/switch.py b/src/switch.py index f425138..062f245 100644 --- a/src/switch.py +++ b/src/switch.py @@ -99,7 +99,7 @@ OpenThings.init(Devices.CRYPT_PID) # Seed the registry with a known device, to simplify tx-only testing - SENSOR_ID = 0x6AB # TODO capture this from a known device before testing + SENSOR_ID = 0x68B # captured from a real device device_header = OpenThings.alterMessage(Messages.REGISTERED_SENSOR, header_mfrid = Devices.MFRID, header_productid = Devices.PRODUCTID_MIHO005, # adaptor plus