for embedded GPS mode