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 94
94
_SET_ENT_UNAME_CMD = const (0x4B )
95
95
_SET_ENT_PASSWD_CMD = const (0x4C )
96
96
_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 )
99
99
100
100
_SET_PIN_MODE_CMD = const (0x50 )
101
101
_SET_DIGITAL_WRITE_CMD = const (0x51 )
@@ -790,7 +790,7 @@ def get_time(self):
790
790
raise RuntimeError ("Must be connected to WiFi before obtaining NTP." )
791
791
792
792
def set_certificate (self , client_certificate ):
793
- """Sets client certificate. Must be called and set
793
+ """Sets client certificate. Must be called
794
794
BEFORE a network connection is established.
795
795
Begins with -----BEGIN CERTIFICATE-----.
796
796
:param str client_certificate: User-provided client certificate.
@@ -807,7 +807,7 @@ def set_certificate(self, client_certificate):
807
807
return resp [0 ]
808
808
809
809
def set_private_key (self , private_key ):
810
- """Sets client certificate . Must be called and set
810
+ """Sets private key . Must be called
811
811
BEFORE a network connection is established.
812
812
:param str private_key: User-provided private key.
813
813
"""
You can’t perform that action at this time.
0 commit comments