Skip to content

Commit

Permalink
Add WPA defines for Tizen platfor if WiFi enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jlatusek committed Feb 20, 2023
1 parent 84a48bf commit e65246d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@

// include the CHIPProjectConfig from config/standalone
#include <CHIPProjectConfig.h>

// Define is required to use the Linux implementation of the AppMain.
#ifdef CHIP_DEVICE_CONFIG_ENABLE_WIFI
#define HIP_DEVICE_CONFIG_ENABLE_WPA 1
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@

// include the CHIPProjectConfig from config/standalone
#include <CHIPProjectConfig.h>

// Define is required to use the Linux implementation of the AppMain.
#ifdef CHIP_DEVICE_CONFIG_ENABLE_WIFI
#define HIP_DEVICE_CONFIG_ENABLE_WPA 1
#endif
5 changes: 5 additions & 0 deletions examples/lighting-app/tizen/include/CHIPProjectAppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@
#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONABLE_DEVICE_NAME 1

#define CHIP_DEVICE_CONFIG_DEVICE_NAME "Test Bulb"

// Define is required to use the Linux implementation of the AppMain.
#ifdef CHIP_DEVICE_CONFIG_ENABLE_WIFI
#define HIP_DEVICE_CONFIG_ENABLE_WPA 1
#endif

0 comments on commit e65246d

Please sign in to comment.