3 Replies Latest reply on Jun 3, 2019 1:00 AM by ZhengbaoZ_96

    CE222494 WiFi Demo - initial ip address

    MaCh_4265271

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