Things I Need on MBED
Page last updated 06 Feb 2010, by
0
replies
.
These are the things that did not work:
- HTTPServer bugs: Google Chrome does not work with HTTPServer; it can get first response (index.htm) and rpc can work while the first page still loads, but once it is done loading, nothing else works. At the same time Firefox keeps working OK.
UPDATE: favicon.ico file on MBED helps Google Chrome!!!
UPDATE 2: Looks like there is a bug when 404 response gets stuck, see http://mbed.org/forum/post/1155
UPDATE 3: Newest LWIP/HTTPServer seems to fix the 404 problem. favicon.ico still makes things better.
UPDATE 4: There is some fixes for out-of-order packets on original LWIP project page... need to try those. - RPC-able class - http://mbed.org/forum/topic/234/
RESOLVED see example: pub_iva2k_ethrpc - Full URI in HTTP RPC for forms (also for multiple arguments), e.g. http://mbeddevice/rpc/led?write=1; or at least accept http://mbeddevice/rpc/led/write+1&commit=1
DISCUSSION: http://mbed.org/forum/topic/234/
DONE: HTTPServer and RPC (custom RPC handler for HTTPServer) - Pass strings to RPC. Alphanumerical strings pass OK, but any non-alphanumerical chars turn into delimiters and cut the string.
Asked in http://mbed.org/forum/topic/234/, ticket http://mbed.org/projects/tickets/ticket/17
DONE: HTTPServer and RPC (custom RPC handler for HTTPServer) - Need unblocked http.bind() in HTTPServer - currently it takes few seconds to do DHCP. Bug: When cable is unplugged, it takes very long time. see http://mbed.org/forum/post/1155
- HTTPDynamicPage (base on HTTPStaticPage)
DONE: HTTPDynamicPage see http://mbed.org/forum/topic/306/ - ETH LEDs following state of link and activity
Option 1 - monitor eth.link() and use custom HTTPHandler to get action() call
The problems: (1) eth.link() seems to activate only after DHCP, and (2) only HTTP packets trigger action().
Option 2 - use PHY outputs (idea from http://mbed.org/users/paulg/notebook/bob3---mbed-on-stilts/)
Use DigitalIn on pins P1_25 (LED_LINK), P1-26 (LED_SPEED) - these are active-low by default from Phy chip.
There are 2 problems: (1) LED_LINK is configured in mode 1 (it does not blink with activity), and (2) LED_SPEED is active when link is absent. - Sleep modes
can't wakeup from Deep Sleep or Power Down - http://mbed.org/forum/bugs-suggestions/topic/434/
These are the things I need for various projects
- SNTPClient, DST for SNTPClient
DONE: see SNTP Client - TCP/IP and UDP sockets
(use server code from PLI IF) - USB device sample / cookbook
see http://mbed.org/forum/mbed/topic/146/?page=1#comment-546 - USB host sample / cookbook
see http://mbed.org/users/igorsk/notebook/interfacing-usb-mass-storage-devices-aka-usb-flash/
discussion see http://mbed.org/forum/mbed/topic/421/
still need some hot-plug capablities - Powerline networking
see http://mbed.org/forum/mbed/topic/436/ - WiFly device sample / cookbook
http://mbed.org/forum/topic/128 - WiFly "access point" sample / cookbook
Actually, there are 3 distinct modes for wireless device:
1) Access Point Mode
In this mode, all Ethernet ports and wireless interface are bridged together and NAT function is disabled. All the WAN related function and firewall are not supported.
2) Gateway Mode
In this mode, the device is supposed to connect to internet via ADSL/Cable Modem. The NAT is enabled and PCs in LAN ports share the same IP to ISP through WAN port. The connection type can be setup in WAN page by using PPPOE, DHCP client, PPTP client or static IP.
3) Client Mode
In this mode, the device acts as client.
Access Point settings (these give pretty good idea of what functionality is needed):
- Name (SSID); Broadcast SSID
- Region (US, Europe)
- Channel #/Auto
- Security: None, WEP, WPA, WPA2; Keys
- DHCP: Enable; IP range; Static IPs - Low-end display
- High-end display, OLED
4D Systems uOLED-160-G1 http://www.robotshop.com/4d-systems-smart-oled-display-module-1.html
Carrier board CB-160-G1 (w/ joystick & speaker) http://www.robotshop.com/4d-systems-carrier-board-for-oled-160-g1-1.html
0 comments
You need to log in to post a comment