1. 25 10月, 2021 1 次提交
    • A
      Add ALPN support to WiFiClientSecure (#5633) · 15bbd0a1
      Anthony Elder 提交于
      This adds a function to WiFiClientSecure to set the ALPN protocol.
      
      This is required for an MQTT client to connect to AWS IoT when using an AWS Custom Authorizer, as described here.
      
      Example code snippet:
      
      ...
      WiFiClientSecure wiFiClient;
      
      // ALPN protocol, needed with AWS custom authorizer
      const char *aws_protos[] = {"mqtt", NULL};
      
      void setup() {
        wiFiClient.setCACert(AWSCAPEM);
        wiFiClient.setAlpnProtocols(aws_protos);
      }
      ...
      15bbd0a1
  2. 21 1月, 2020 1 次提交
  3. 03 12月, 2018 1 次提交