c++ implementation heroic robotic's pixelpusher protocol