9 Replies Latest reply on May 25, 2020 3:06 AM by KEKA_4568351

    Reception of POST communication in HTTP AP mode

    KEKA_4568351

      Is it possible to receive HTTP / POST communication in AP mode as in the sample program below?

      please tell me.

       

      ◆example

      static wiced_result_t WiFi_ap_http_receive_callback ( wiced_http_response_stream_t* stream, uint8_t** data, uint16_t* data_length )

      {

          ・・・

      }

       

      void test()

      {

          wiced_result = wiced_network_up(WICED_AP_INTERFACE, WICED_USE_INTERNAL_DHCP_SERVER, &s_ap_ip_settings);

          if (WICED_SUCCESS != wiced_result) {

              ・・・

          }

       

          wiced_result = wiced_http_server_start(&s_ap_http_server, 80, max_sockets, ap_web_pages, WICED_AP_INTERFACE, DEFAULT_URL_PROCESSOR_STACK_SIZE);

          if (WICED_SUCCESS != wiced_result) {

              ・・・

          }

       

          wiced_result = wiced_http_server_register_callbacks(&s_ap_http_server, WiFi_ap_http_receive_callback, NULL);

          if(WICED_SUCCESS != wiced_result) {

              ・・・

          }

          ・・・

      }

       

      <Japanese>

      HTTP APモードにおける、POST通信の受信について

       

      以下のサンプルプログラムのように、APモードで、HTTP・POST通信の受信は可能でしょうか。

      教えてください。