0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

Merge branch 'develop'

This commit is contained in:
peteruithoven 2014-05-28 17:49:04 +02:00
commit 3fd59d7866
8 changed files with 22 additions and 4 deletions

View File

@ -1,4 +1,10 @@
Changelog Changelog
# 0.10.4 (28th may 2014)
- Pulled improvements by Ultimaker.
- Fixed printing isues with gcode containing whitelines.
- Added Builder3D to printer types
- iOS captive portal fix
# 0.10.3 (9th apr 2014) # 0.10.3 (9th apr 2014)
- Fixed Makerbot issue where printer driver didn't get past connecting state - Fixed Makerbot issue where printer driver didn't get past connecting state

View File

@ -3,6 +3,7 @@ CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLMR3020=y CONFIG_TARGET_ar71xx_generic_TLMR3020=y
CONFIG_ATH_USER_REGD=y CONFIG_ATH_USER_REGD=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set # CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set
CONFIG_BUSYBOX_CONFIG_INOTIFYD=y
CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y
# CONFIG_IPV6 is not set # CONFIG_IPV6 is not set
# CONFIG_KERNEL_DEBUG_INFO is not set # CONFIG_KERNEL_DEBUG_INFO is not set
@ -15,6 +16,7 @@ CONFIG_PACKAGE_doodle3d-client=y
# CONFIG_PACKAGE_kmod-ipv6 is not set # CONFIG_PACKAGE_kmod-ipv6 is not set
# CONFIG_PACKAGE_kmod-ppp is not set # CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-usb-acm=y CONFIG_PACKAGE_kmod-usb-acm=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-serial=y CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
# CONFIG_PACKAGE_libip6tc is not set # CONFIG_PACKAGE_libip6tc is not set

View File

@ -1 +1 @@
0.10.3 0.10.4

View File

@ -50,7 +50,7 @@ local function setupAutoWifiMode()
local netName, netMode = wifiState.ssid, wifiState.mode local netName, netMode = wifiState.ssid, wifiState.mode
local apSsid = wifi.getSubstitutedSsid(settings.get('network.ap.ssid')) local apSsid = wifi.getSubstitutedSsid(settings.get('network.ap.ssid'))
local apMode = (apSsid == netName) and netMode == 'ap' local apMode = (apSsid == netName) and (netMode == 'ap')
local scanList,msg = wifi.getScanInfo() local scanList,msg = wifi.getScanInfo()
local knownSsids = wifi.getConfigs() local knownSsids = wifi.getConfigs()
@ -80,7 +80,7 @@ local function setupAutoWifiMode()
local connectWith = nil local connectWith = nil
for _,kn in ipairs(knownSsids) do for _,kn in ipairs(knownSsids) do
if kn.mode == 'ap' and kn.ssid == apSsid then break end if kn.mode == 'ap' and kn.ssid == apSsid then break end
if findSsidInList(scanList, kn.ssid) then if findSsidInList(scanList, kn.ssid) and kn.mode == 'sta' then
connectWith = kn.ssid connectWith = kn.ssid
break break
end end

View File

@ -344,9 +344,13 @@ function M.associateSsid(ssid, passphrase, recreate)
-- if not, or if newly created configuration is requested, create a new configuration -- if not, or if newly created configuration is requested, create a new configuration
if cfg == nil or recreate ~= nil then if cfg == nil or recreate ~= nil then
local scanResult = wifi.getScanInfo(ssid) local scanResult, msg = wifi.getScanInfo(ssid)
if scanResult ~= nil then if scanResult ~= nil then
wifi.createConfigFromScanInfo(scanResult, passphrase) wifi.createConfigFromScanInfo(scanResult, passphrase)
elseif scanResult == false then
--check for error
M.setStatus(M.CONNECTING_FAILED,msg);
return nil,msg
else else
--check for error --check for error
local msg = "Wireless network "..ssid.." is not available" local msg = "Wireless network "..ssid.." is not available"

View File

@ -54,6 +54,8 @@ function M._global_GET(request, response)
end end
end end
-- returns substituted_wifiboxid (since version 0.10.2)
-- returns substituted_ssid (since version 0.9.1)
function M._global_POST(request, response) function M._global_POST(request, response)
--log:info("API:config:set") --log:info("API:config:set")

View File

@ -47,6 +47,7 @@ local M = {
isApi = true isApi = true
} }
-- returns wifiboxid (since version 0.10.2)
function M._global(request, response) function M._global(request, response)
response:setSuccess() response:setSuccess()

View File

@ -45,6 +45,9 @@ local SUPPORTED_PRINTERS = {
tantillus = "Tantillus", tantillus = "Tantillus",
vision_3d_printer = "Vision 3D Printer", vision_3d_printer = "Vision 3D Printer",
minifactory = "miniFactory", minifactory = "miniFactory",
builder3d = "Builder 3D",
bigbuilder3d = "Big Builder 3D",
mamba3d = "Mamba3D",
marlin_generic = "Generic Marlin Printer", marlin_generic = "Generic Marlin Printer",
makerbot_generic = "Generic Makerbot Printer" makerbot_generic = "Generic Makerbot Printer"
} }