- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I want to develop a Firmware for WICED that configures MCU as P2P Client.
I download WICED Studio and I write this simple SNIP
#include "wiced.h"
#include "p2p_structures.h"
connection_manager_context_t cm;
void application_start(void)
{
wiced_init( );
connection_set_settings(&cm);
connection_launch(CONNECTION_P2P_GC);
}
I have 2 questions:
1) I'm on the right way ?
2) Compier tells me apps/demo/gil/rdg/rdg.c:50:1: error: unknown type name 'connection_manager_context_t'; did you mean 'mbedtls_cipher_context_t'?
I add #include "connection_manager.h" but compiler tells me apps/demo/gil/rdg/rdg.c:3:10: fatal error: connection_manager.h: No such file or directory
I'm stucked !
Solved! Go to Solution.
- Labels:
-
Wi-Fi Direct
-
WICED Studio
-
Wireless MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK ...
I have to add in mk file this ...
$(NAME)_COMPONENTS := utilities/connection_manager
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved using
#include "../libraries/utilities/connection_manager/connection_manager.h"
but now ...
C:\Users\Mauro\Documents\WICED-Studio-6.6\43xxx_Wi-Fi/apps/demo/gil/rdg/rdg.c:57: undefined reference to `connection_set_settings'
C:\Users\Mauro\Documents\WICED-Studio-6.6\43xxx_Wi-Fi/apps/demo/gil/rdg/rdg.c:58: undefined reference to `connection_launch'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK ...
I have to add in mk file this ...
$(NAME)_COMPONENTS := utilities/connection_manager
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were you able to get it up and running?
Here's a thread which may help you out further Re: WiFi-Direct group owner with WICED: how to do?