This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHCC3235MOD: Getting tcpechotls to work with python script from Windows

Part Number: LAUNCHCC3235MOD
Other Parts Discussed in Thread: UNIFLASH,

I have modiefied the port and the wifi mode to be a client on local network in tcpechotls. I can ping before and after debug, but I always get refused connection. I am unsure this is intended for certs

define ROOT_CA_CERT_FILE     "caCert.pem"  //"DummyCA"
#define PRIVATE_KEY_FILE      "caKey.pem"   //"DummyKey"
#define TRUSTED_CERT_FILE     "serverCert.pem"  //"DummyTrustedCert"

and it fails on uart as  "tcpHandler: failed to load objects"

//...
 status = SlNetIf_loadSecObj(SLNETIF_SEC_OBJ_TYPE_CERTIFICATE,
            ROOT_CA_CERT_FILE, strlen(ROOT_CA_CERT_FILE), srvCAPem,
            srvCAPemLen, SLNETIF_ID_1);
    status |= SlNetIf_loadSecObj(SLNETIF_SEC_OBJ_TYPE_CERTIFICATE,
            TRUSTED_CERT_FILE, strlen(TRUSTED_CERT_FILE), srvCertPem,
            srvCertPemLen, SLNETIF_ID_1);
    status |= SlNetIf_loadSecObj(SLNETIF_SEC_OBJ_TYPE_RSA_PRIVATE_KEY,
            PRIVATE_KEY_FILE, strlen(PRIVATE_KEY_FILE)-1, srvKeyPem,
            srvKeyPemLen, SLNETIF_ID_1);
    if(status < 0) {
        Display_printf(display, 0, 0, "tcpHandler: failed to load objects\n");
        goto shutdown;
    }