# RUI GPS Set Mode

RUI_RETURN_STATUS rui_gps_set_mode(DRIVER_MODE mode)
@brief This API is used to set the work mode of the GPS module which is integrated in the communicate module like Quectel BG96.
@return RUI_RETURN_STATUS
@param DRIVER_MODE mode: the GPS module’s work mode.
@module RAK5010 and RAK8212