first pass of porting rv3049 driver from tinyos