Skip to content

Ensure Nanostack is initialised before using it #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2018

Conversation

artokin
Copy link

@artokin artokin commented Jun 8, 2018

Nanostack initialisation will occur after the first call to:
Nanostack::get_instance

Set file system root path after Nanostack initialisation.

Nanostack initialisation will occur after the first call to:
 Nanostack::get_instance

Set file system root path after Nanostack initialisation.
@artokin
Copy link
Author

artokin commented Jun 8, 2018

@kjbracey-arm , @SeppoTakalo

ns_file_system_set_root_path("/fs/");
// Should be like: Nanostack::get_instance().file_system_set_root_path("/fs/");
Copy link
Contributor

@SeppoTakalo SeppoTakalo Jun 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what you are trying to say with this comment?
Proposal for a new API?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got it right, that kind of API should be added later on.

@artokin artokin merged commit eb48c0c into mbed-os-5.9.0-oob Jun 8, 2018
@artokin artokin deleted the IOTTHD-2606 branch June 8, 2018 12:51
SeppoTakalo pushed a commit that referenced this pull request Jun 18, 2018
* origin/mbed-os-5.9.0-oob:
  Update SD Card usage instructions to README (#194)
  Updating mbed-os to mbed-os-5.9.0-rc3
  Ensure Nanostack is initialised before using it (#192)
  Added known issue re: NVM. Added links to issues in known issues list
  Fixed broken links and added known issue for Mbed OS 5.9
  Updating mbed-os to mbed-os-5.9.0-rc2
  Updating mbed-os to mbed-os-5.9.0-rc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants