Johan Gustaf Smed-er , Major wid Kongl.