PpmpUnide authotization
Answer
3/12/19 3:30 PM

Dear all,

I am trying to implement the PpmpUnide example but I am not able to find the HTTP POST authorization section in order to provide the username and password requested by the PPM.

How can I fix this problem?

0 (0 Votes)
RE: PpmpUnide authotization
Answer
3/14/19 12:09 PM as a reply to Emanuele Lucchini.

Hi Emanuele Lucchini,

You can provide the wifi usename and password in AppController.h, In the following section,

/**
 * WLAN_SSID is the WIFI network name where user wants connect the XDK device.
 * Make sure to update the WLAN_PSK constant according to your required WIFI network.
 */
#define WLAN_SSID                           "YourWifiNetwork"

/**
 * WLAN_PSK is the WIFI router WPA/WPA2 password used at the Wifi network connection.
 * Make sure to update the WLAN_PSK constant according to your router password.
 */
#define WLAN_PSK                            "YourWifiPassword"

Along with that, Provide the PPMP serval url and sntp url with corresponding port numbers,

/**
 * SNTP_SERVER_URL is the SNTP server URL.
 */
#define SNTP_SERVER_URL                     "YourSNTPServerURL"

/**
 * SNTP_SERVER_PORT is the SNTP server port number.
 */
#define SNTP_SERVER_PORT                    UINT16_C(123)

/* PPMP server configurations *********************************************** */

/**
 * PPMP_SERVER_URL is the PPMP server URL.
 * Make sure to update the PPMP_SERVER_URL value,
 * if APP_USE_SERVER_URL is "true".
 */
#define PPMP_SERVER_URL                     "YourPPMPServerURL"

/**
 * PPMP_SERVER_PORT is the PPMP server port number.
 */
#define PPMP_SERVER_PORT                    UINT16_C(80)

Regards,

Vijaya Kumar B

 

0 (0 Votes)