5 years, 8 months ago.

Pelion Client initialization failed (1)?

I try to connect the pelion.using the application “pelion-ready-example”.and i changed the wifi to esp8266,the “sd” to “spif” the error occurs at here:

    SimpleMbedCloudClient client(net, bd, &fs);
    printf("2\r\n");
    int client_status = client.init();
    if(client_status==0)
    {
        printf("1\r\n");
        }
    if (client_status != 0) {
        printf("Pelion Client initialization failed (%d)\n", client_status);
        return -1;
    }

the the com printf:Pelion Client initialization failed (1) i don’t konw how to do?can you help me? thanks

1 Answer

5 years, 8 months ago.

Hi Carmelo,

We reformatted your email to use the code tag as suggested in the "Editing tips". Please use these in the future to improve the legibility of your posts.

We think you may have accidentally selected a bad project for testing. The "pelion-ready-example" is actually a template to be used to create examples for new platforms and customization is required. Is that what you are trying to do? If so - which platform are you using?

Please check the Simple Cloud Client example here (which is a complete working example):

That has been tested against about 15 different targets with links to those specific examples.

Regards,

Ralph, Team Mbed