AnsweredAssumed Answered

BlueNRG – Send/Receive Data.

Question asked by erenburg.evgeny.002 on Oct 5, 2015
Latest reply on Oct 6, 2015 by erenburg.evgeny.002
My device is configured as a SERVER in an advertising mode.
ret = aci_gap_set_discoverable(ADV_NONCONN_IND, 160, 160, PUBLIC_ADDR, NO_WHITE_LIST_USE, sizeof(local_name), local_name, 0, NULL, 0, 0);
It sends an advertising beacon with a user data.

if (bluenrg_tx_count > period)
{
    bluenrg_tx_count = 0;
    ret = aci_gap_update_adv_data(sizeof(manuf_data), manuf_data);
}
 

The other side - CLIENT reads the data.

What if I want to get some data on the SERVER side? Can I do it in the same pattern by getting the advertising data from the CLIEN or should I implement services and characteristics in it?


Outcomes