CE222494 WiFi Demo - initial ip address

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaCh_4265271
Level 1
Level 1
Welcome! First comment on KBA First question asked

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…)

0 Likes
1 Solution

Hello:

snip\apsta is a common application in the release,  To copy them all into your samples is also fine for your test.

View solution in original post

0 Likes
3 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

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 ) ),

};

0 Likes

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?

0 Likes

Hello:

snip\apsta is a common application in the release,  To copy them all into your samples is also fine for your test.

0 Likes