feat(bkgpslog):Implement buffer for saving gpspipe stream