[
https://issues.apache.org/jira/browse/MYNEWT-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Collins updated MYNEWT-564:
---------------------------------------
Fix Version/s: v1_0_0_beta2
Description:
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}
was:
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}}
Component/s: Nimble
> 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
> Components: Nimble
> Reporter: Christopher Collins
> Assignee: Christopher Collins
> Fix For: v1_0_0_beta2
>
>
> 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)