require "core" local setting_ids = core.get_gateway_setting_ids_by_gateway_id( gateway_id ) if setting_ids ~= nil then for _, setting_id in pairs( setting_ids ) do print( "setting id: " .. setting_id ) end end