AVSystem / Anjay-mbedos-client

Apache License 2.0
3 stars 6 forks source link

ERROR] The target platform you're using does not have network configuration pre-implemented. #1

Closed krunalchauhan637 closed 2 years ago

krunalchauhan637 commented 2 years ago

Anjay-mbedos-client

Hi ,

Board: NUCLEO_F429ZI I am using Anjay-mbedos-client for demo purpose for my device. NUCLEO_F429ZI board have internet connectivity via ethernet. But as I can see this example have only cellular connectvity support.

What should I do enable ethernet connectivity/ Add Support for ethernet in this sdk ??

kFYatek commented 2 years ago

Hi,

You can get the Ethernet interface on that board to work by removing the configuration option that unconditionally sets the default interface type to cellular:

--- a/mbed_app.json
+++ b/mbed_app.json
@@ -16,8 +16,7 @@
       "platform.stdio-baud-rate": 115200,
       "platform.stdio-convert-newlines": 1,
       "target.OUTPUT_EXT": "bin",
-      "target.app_offset": "0x10000",
-      "target.network-default-interface-type": "CELLULAR"
+      "target.app_offset": "0x10000"
     },
     "DISCO_L496AG": {
       "stmod_cellular.provide-default": "true",

This fix will be committed to this repository in the near future as well.

Please note that this (i.e., Anjay-mbedos-client) repository is only intended as a demo application for testing and reference purposes. If you want to build your own application, I recommend you to create a new Mbed OS project, using https://github.com/AVSystem/Anjay-mbedos as a dependency.

krunalchauhan637 commented 2 years ago

Thanks for @kFYatek for quick for reply. By doing above change, I am able to connect my device on Coiote IoT Device Management.