This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Network Component Version 7.3

Hi
I can run the HTTP Server from Network version 6.6 and it's working fine

here is the code for version 6.6

int main (void) {
        osKernelInitialize ();                    // initialize CMSIS-RTOS
        // initialize peripherals here

        osKernelStart ();                         // start thread execution

        net_initialize();


        while(1)
        {

            net_main ();
            osThreadYield ();

        }
}

the problem is that when I switch to version 7.3 the network component does not work

here is the code for version 7.3

int main (void) {
        osKernelInitialize ();                    // initialize CMSIS-RTOS
        // initialize peripherals here

        osKernelStart ();                         // start thread execution

        netInitialize ();


        while(1)
        {

          osThreadYield ();

        }
}

Am I missing something?

  • Well, frankly you are missing many things.

    Network Component v7.3.0 does not bring any change in the source code of the project and only change is in the Middleware libraries.

    In Manage Run Time Environment, select "Legacy API" and change variant of "Core" to as per your need and that should do the job.

    Probably you would be asked to update the Network configiration files in project that can be done by right clicking the corresponding file and select update.