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

AWS IoT SDK Forum Discussions

WaLo_3890256
Level 2
Level 2
First like given Welcome!

Hello,

We are running amazon FreeRTOS with CY8CKIT-062-WiFi-BT development kit on modus ide. We need to configure device to softap mode.

We have used WIFI_ConfigureAP and WIFI_StartAP function to let device in ap mode and we can scan and connect by other devices such as NB and cell phone. The next step is we need to create DHCP sever, but we can't find the DHCP sever related code in modus. If we move DHCP server source from WICED will have a lot of compile errors. Please help if DHCP can implement in modus.

Thanks.

BR,

Wayne

0 Likes
1 Solution
RaktimR_11
Moderator
Moderator
Moderator
500 likes received 250 likes received 100 likes received

Porting the WICED DHCP server code will not be straightforward since that is tightly coupled with the hooks of WICED SDK.

I had earlier tried to clean up the DHCP Server code but did not really test it out. Nevertheless, I am attaching the same here for you to check with your application. You can just add this .c, .h files inside your application code folder and call start_dhcp_server from your main app. Let me know how this goes.

Disclaimer: This code snippet has not been tested or gone through standard Cypress review procedure.

View solution in original post

0 Likes
1 Reply
RaktimR_11
Moderator
Moderator
Moderator
500 likes received 250 likes received 100 likes received

Porting the WICED DHCP server code will not be straightforward since that is tightly coupled with the hooks of WICED SDK.

I had earlier tried to clean up the DHCP Server code but did not really test it out. Nevertheless, I am attaching the same here for you to check with your application. You can just add this .c, .h files inside your application code folder and call start_dhcp_server from your main app. Let me know how this goes.

Disclaimer: This code snippet has not been tested or gone through standard Cypress review procedure.

0 Likes