Skip to content
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

MYNEWT-268 BLE Host - enable factory reset #380

Merged
merged 1 commit into from
Jul 7, 2017

Conversation

ccollins476ad
Copy link
Contributor

(Jira ticket: https://issues.apache.org/jira/browse/MYNEWT-268)gg

This commit adds a new function to the host API:

/**
 * Deletes all objects from the BLE host store.
 *
 * @return                      0 on success; nonzero on failure.
 */
int
ble_store_clear(void)

This function can be used to effect a factory reset.

This commit adds a new function to the host API:

    /**
     * Deletes all objects from the BLE host store.
     *
     * @return                      0 on success; nonzero on failure.
     */
    int
    ble_store_clear(void)

This function can be used to effect a factory reset.
Copy link
Contributor

@vrahane vrahane left a comment

Choose a reason for hiding this comment

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

Looks good.

@ccollins476ad ccollins476ad merged commit a95eab0 into apache:master Jul 7, 2017
@ccollins476ad ccollins476ad deleted the ble-store-clear branch July 7, 2017 23:22
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.

None yet

2 participants