- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I try to adapt "the flagship" demo firmware of PSoC 6 WiFi-BT Pioneer Kit:
"CE222494_PSoC6_WICED_WiFi_Demo"
My first change will be simply modification of initial IP address of PSoC (used when it starts and temporary works as the AP).
By default we have 192.168.0.1. I intend to play with last figures.
I tried to dig a little in the codes to find that phrase... but honestly i feel lost now
I found a lot of instances which appear to be the target of modification…
C:\Users\____\WICED-Studio-6.2\43xxx_Wi-Fi\apps\demo\wifi_onboarding\wifi_onboarding.c
C:\Users\____\WICED-Studio-6.2\43xxx_Wi-Fi\libraries\utilities\connection_manager\connection_manager.c
C:\Users\____\WICED-Studio-6.2\43xxx_Wi-Fi\libraries\daemons\device_configuration\device_configuration.c
C:\Users\____\WICED-Studio-6.2\43xxx_Wi-Fi\libraries\daemons\DHCP_server\unit\dhcp_server_unit.cpp
C:\Users\____\WICED-Studio-6.2\43xxx_Wi-Fi\libraries\utilities\command_console\wifi\command_console_wifi.c
INITIALISER_IPV4_ADDRESS( .ip_address, MAKE_IPV4_ADDRESS( 192,168, 0, 1 ) ),
Which one is correct? Is there one definition of that address?
I couldn’t find it…
Just to avoid some obvious questions:
The purpose of that silly modifications... is just the conflict with one of the router I use (I was to lazy to change its default address…)
Solved! Go to Solution.
- Labels:
-
WICED Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello:
snip\apsta is a common application in the release, To copy them all into your samples is also fine for your test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello :
if you are testing a simple AP function , better to use snip\apsta ,
bellow is the AP IP define.
static const wiced_ip_setting_t ap_ip_settings =
{
INITIALISER_IPV4_ADDRESS( .ip_address, MAKE_IPV4_ADDRESS( 192,168, 0, 1 ) ),
INITIALISER_IPV4_ADDRESS( .netmask, MAKE_IPV4_ADDRESS( 255,255,255, 0 ) ),
INITIALISER_IPV4_ADDRESS( .gateway, MAKE_IPV4_ADDRESS( 192,168, 0, 1 ) ),
};
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
But I planned to use CE222494 example as the basis for my experiments.
My eclipse skills still demand some improvement!
I'm afraid, modifications in snip\apsta section don't influence the 222494 example.
am I right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello:
snip\apsta is a common application in the release, To copy them all into your samples is also fine for your test.