File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9494_SET_ENT_UNAME_CMD = const (0x4B )
9595_SET_ENT_PASSWD_CMD = const (0x4C )
9696_SET_ENT_ENABLE_CMD = const (0x4F )
97- _SET_CLI_CERT = const (0x00 ) # TODO: Decl in nina-fw handler.
98- _SET_PK = const (0x00 ) # TODO: Decl in nina-fw handler.
97+ _SET_CLI_CERT = const (0x40 )
98+ _SET_PK = const (0x41 )
9999
100100_SET_PIN_MODE_CMD = const (0x50 )
101101_SET_DIGITAL_WRITE_CMD = const (0x51 )
@@ -790,7 +790,7 @@ def get_time(self):
790790 raise RuntimeError ("Must be connected to WiFi before obtaining NTP." )
791791
792792 def set_certificate (self , client_certificate ):
793- """Sets client certificate. Must be called and set
793+ """Sets client certificate. Must be called
794794 BEFORE a network connection is established.
795795 Begins with -----BEGIN CERTIFICATE-----.
796796 :param str client_certificate: User-provided client certificate.
@@ -807,7 +807,7 @@ def set_certificate(self, client_certificate):
807807 return resp [0 ]
808808
809809 def set_private_key (self , private_key ):
810- """Sets client certificate . Must be called and set
810+ """Sets private key . Must be called
811811 BEFORE a network connection is established.
812812 :param str private_key: User-provided private key.
813813 """
You can’t perform that action at this time.
0 commit comments