Christopher Collins created MYNEWT-564:
------------------------------------------

             Summary: BLE Host - Allow byte buf for adv / rsp data
                 Key: MYNEWT-564
                 URL: https://issues.apache.org/jira/browse/MYNEWT-564
             Project: Mynewt
          Issue Type: Bug
            Reporter: Christopher Collins
            Assignee: Christopher Collins


The current API requires the user to fill in a struct of advertising fields, 
then pass that struct to the host. This requires a lot of code and RAM.  If the 
application knows the exact bytes to advertise, it shouldn't need to go through 
this heavy weight API.

New functions:
{{noformat}}
int ble_gap_adv_set_data(const uint8_t *data, int data_len);
int ble_gap_adv_rsp_set_data(const uint8_t *data, int data_len);
{{noformat}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to