Zephyr: ported the code from Zephyr. Able to register and receive data from the
sensor