all needed functions implemented in nxtBrickControl (not tested!)