code for the quintec BTLE project