Sketch below shows how to split comma or any other character delimited string into an array.
Here is the output
Word 1 : One_1
Word 2 : Two_2
Word 3 : Theree_3
Word 4 : Four_4
Word 1 : 1_One
Word 2 : 2_Two
Word 3 : 3_Theree
Word 4 : 4_Four
Word 5 : 5_Five
Word 1 : One
Word 2 : Two
Word 3 : Theree
Word 4 : Four
Word 5 : Five
This is a solution on how to fix the problem where my Seeedstudio RePhone Mass Storage Mode is not working probably.
Mass Storage Mode works in first time, subsequently it does not appear as a "Removable Disk" (Red LED ON, Green LED OFF). I do get Alcatel single RNDIS network interface under the device manager, the RNDIS interface is keep on rebooting every few seconds. This problem only happen on Win7, WinXP is working fine.
You can fix the problem by disable the "automatic driver installation"
Disable automatic driver installation
There's a few ways to disable the "automatic driver installation"
- How to stop Windows 7 automatically installing drivers
- How to enable/disable automatic driver installation
- The fastest way is to use the Windows "Search Box"
Click on Windows Start icon
Enter "Device Installation" in the search box
"Device Installation Settings" should popup
Select "Never install driver software from Windows Update" as shown in figure above
Click on "Save changes" button
Scan for hardware changes
- Open "Device Manager" and navigate to "Network adapters"
- Right click on "Alcatel single RNDIS Interface" and select uninstall
- Click on Action Menu on the Device Manager and select "scan for new hardware changes"
Due to the limited GPIO availability on the wireless router, you may want use the router LED pin to provides a few more GPIOs. This describes how to use the LED pin on a wireless router as binary outputs.
To compile OpenWrt from source, you need a computer running Linux such as Ubuntu. If you are like me and don't have a Linux computer, you can still use your Windows computer to compile OpenWrt.
In order to run Linux on a Windows, you must install virtual machine on you computer. Virtual machines allow you to run any operating system in a window on your desktop, I'm using the free VirtualBox for my case, please read here for details.
Insert 3G dongle and restart router.
Append to following line to /etc/config/network configuration file. Here is the settings for setup Maxis 3G network.
config interface 'wan'
Restart the router.