btle sketch for arduino board.