[ 
https://issues.apache.org/jira/browse/MYNEWT-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Collins reassigned MYNEWT-742:
------------------------------------------

    Assignee: Christopher Collins

> OIC requires some manual steps to initialize
> --------------------------------------------
>
>                 Key: MYNEWT-742
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-742
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Christopher Collins
>            Assignee: Christopher Collins
>             Fix For: v1_1_0_rel
>
>
> 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)

Reply via email to