Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] feedback about the leshan-bsserver-demo.jar

Hi,

I hope I well understood your question.

I've tested an older version before, which includes the default bootstrap configuration, and then it can automatically establish a connection to leshan-client-demo.
  Which older version are you talking about ? I don't remember there was a version with a default bootstrap configuration ?

But now the recent version changed the way to set the configuration, now the user needs to provide the path and the json file.
 If you are talking about the CLI option, providing a file path is optional :
      -cfg, --config-file=<configFilename>
                  Set the filename for the configuration.
                  Default: data/bootstrapStore.json

 The purpose of this option is just to be able to change the URL of the file, not to edit manually the configuration file.

But I've gone through all the documentation and it doesn't contain an introduction on how the user can provide the details of the config json file, not even an example of it.
This is no really intended to edit the file directly, the configuration is just supposed to be added via the UI demo.

leshan-bsserver-demo is just a demo (as its name suggests) and not a well documented product.

(https://github.com/eclipse/leshan/wiki/F.A.Q.#could-i-reuse-leshan--demo-)


If you want an example, the easier way is just to use the UI then see how the file looks like.

HTH


Le 27/01/2022 à 04:58, yongqiang a écrit :

Hi Leshan Dev Team,

       Thank you for reading this message.

       I would like to provide some feedback on the recently released leshan-bsserver-demo.jar.

       I've tested an older version before, which includes the default bootstrap configuration, and then it can automatically establish a connection to leshan-client-demo.

       But now the recent version changed the way to set the configuration, now the user needs to provide the path and the json file. But I've gone through all the documentation and it doesn't contain an introduction on how the user can provide the details of the config json file, not even an example of it.

       I'm not sure that if you already notice this . Maybe you can add some note for this.

      thanks again.

Best wishes.

Yongqiang.


_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/leshan-dev

Back to the top