1460334613-1535b446-16a1-4d08-b131-8197c4371d75

An ID code is wirelessly sent to a device, such as a keyless-entry system or a keyless-starter system mounted on an automobile, from a portable transmitter. The surface emitting laser device includes an active layer 103, a photonic crystal layer disposed to be adjacent to the active layer, an electrode 108 disposed on the photonic crystal layer, and a plurality of light emitting regions regulated by the electrode. The transmit monitor outputs an error signal when the data so compared do not coincide.