[
https://issues.apache.org/jira/browse/MYNEWT-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sheela updated MYNEWT-742:
--------------------------
Fix Version/s: (was: v1_1_0_rel)
> OIC requires some manual steps to initialize
> --------------------------------------------
>
> Key: MYNEWT-742
> URL: https://issues.apache.org/jira/browse/MYNEWT-742
> Project: Mynewt
> Issue Type: Bug
> Security Level: Public(Viewable by anyone)
> Reporter: Christopher Collins
> Assignee: Christopher Collins
>
> E.g.,
> {noformat}
> static const oc_handler_t omgr_oc_handler = {
> .init = omgr_app_init,
> };
> int
> main(int argc, char **argv)
> {
> /* ... */
> oc_main_init((oc_handler_t *)&omgr_oc_handler);
> oc_ble_coap_gatt_srv_init();
> }
> {noformat}
> If possible, it would be good if these calls happened automatically when the
> OS starts. Unfortunately, the user will still need to configure the library
> with an oc_handler.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)