Wi-Fi Combo Forum Discussions
text.format{('custom.tabs.no.results')}
[WICED-SDK-2.2.1]
We are attempting to connect with a router through WPS without having to modify the DCT, and thus are using the low-level wiced_wifi_join().
Our code uses wiced_wps_enrollee() to find APs and wiced_wifi_join() to join them.
join() returns WICED_SUCCESS, and wiced_network_is_up(WICED_STA_INTERFACE) returns TRUE immediately after joining.
Subsequent code that attempts to use this interface, however, fails at the link check stage.
For example, wiced_udp_create_socket() returns -4 (WICED_NOTUP).
When we instead hardcode this access points credentials and use wiced_network_up(), we do not run into any issues.
What steps do we need to take before/after wiced_wifi_join() to bring up our connection?
Show LessWiConnect sits on top of WICED to enable a faster time to market through an easy to use API.
WiConnect runs as standard on all ACKme Networks Wi-Fi modules
HTTP Post Example
The following (fictitious) HTTP post example shows how to post data to an HTTP web server using the WiConnect HTTP API. The HTTP body data posted in this example is a small piece of JSON (sent using stream_write 0 7). Since the -o option is used with the
http_post command, a connection stream to the HTTP server is opened, but the HTTP post is queued locally on the module.
Queuing the HTTP post locally provides the ability to add HTTP headers using the
http_add_header command, and to post data in the HTTP body using the stream_write command. Once all headers and body data are queued, the HTTP post is sent to the server and completed using the http_read command.
Any response data received from the server may be read using stream_read.
[2014-04-23 | 19:40:23: Opening: example.com]
Request POST /hello
Connecting (HTTP): example.com:80
[2014-04-23 | 19:40:23: Opened: 0]
0
> stream_write 0 7
... JSON data goes here ...
Success
> http_read 0
HTTP response: 200
Chunked response
200
> stream_read 0 1000
{
"response": "howdy!"
}
> stream_close 0
Closing: 0
[2014-04-23 | 19:40:40: Closed: 0]
Success
WICED Wi-Fi ForumsACKme Networks
Show LessCouple of emails came in recently asking if Eagle CAD files are available for the AMW004 'Wallaby' module by ACKme.
The Answer - yes!
See this link: ACKme | Resources
WICED Wi-Fi ForumsACKme Networks
Show LessHi,
just received Murata's evaluation kit for the SN8000. A patch is offered for the WICED SDK 2.3.1, but this seems to be no longer available. The patch doesn't fit to SDK version 2.4, because some preprocessor macros had been added, at least.
I already registered at Murata's support site www.murata-ws.com, but the form just collected my data without any response or login offer. Sigh!
The preloaded software on the EVK works, but of course I'm more interested in building my own application. 🙂 Shall I try to get SDK 2.3.1 or do I have to create a patch by myself?
Best regards,
Harald Kipp
Show LessHi,
I'm not very satisfied with the antenna provided on the module, how can I choose other kind of antenna? What specs should I look at? Thanks.
Best regards.
Jesse
Show LessI solved the problem with toolchain but now i get other, my Olimex Tiny H is not seen by Eclipse
after build Eclipse try to download Code to my IC but iget the massage:
Downloading Bootloader ...
**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****
Downloading Application ...
**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****
Downloading DCT ...
**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****
Everything is connected correctly, no Debugger running, settings seems to be right.
Now i don't know what to do.
Show LessHere’s another useful teach-in that will help you get to market faster …
WiConnect is a simple to use front end to WICED and by using WiConnect many of the simple tasks you are looking to achieve come about much quicker allowing you to focus on your application rather than the network or wireless portion. This teach in shows the basis of a simple streaming serial interface.
Stream Mode
As depicted in the following diagram, stream mode provides a transparent connection between a serial port and a network stream. It is perfect for implementing applications such as a wireless serial port.
Stream mode is used primarily by host applications that can handle asynchronous data (with the optional use of hardware flow control). It is perfectly suited to applications that only need to use a single network stream at any one time.
Configuration
The simplest way to setup an ACKme module to use Stream mode is to do all the WiConnect configuration first using command mode, then reboot into stream mode.
Configuration involves just a few simple steps:
Setup a wireless and network interface to use with stream mode e.g. wlan interface and TCP client. This typically requires setting up the wireless interface and network stream to auto-connect, or enable connection using a GPIO control pin.
Set the serial bus.mode to stream.
Both the wlan and softap interfaces have an auto-start on bootup capability using the wlan.auto_join.enabled and softap.auto_start variables. The TCP server has auto-start capability using the tcp_server.auto_start variable. Network clients can be started using a GPIO or manually by breaking out of stream mode as described below.
Breaking out of Stream Mode
When the serial bus is in Stream mode, commands are disabled and every character sent to the serial port is automatically forwarded to a network stream. There are two ways to break out of stream mode and enable command mode entry temporarily. The first method uses a character sequence configurable with the bus.stream.cmd_seq. By default, the stream break out sequence is $$$. The other option available to break out of stream mode is to use a GPIO configurable with the bus.stream.cmd_gpio variable. When you're done entering commands, return to stream mode by simply issuing the exit command.
WICED Wi-Fi ForumsACKme Networks
Show Lesshi, we are trying to make a Hotspot (access point) for a radio communication device, problem is height limitation (only 2 mm) it means we can not use modules in market but create our own module, i understand widec module sdk could help us in order to make our development of an access point very easy, but, is it possible for us to reproduce this wiced module using broadcom chip and atmel mcu? and make it work with broadcom wiced module sdk?
regards
Gustavo
Show Less