This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Multiple pipes in service data

Hi :)

In my program, just ONE pipe to use advertising service data is not enough. There is the function:

lib_aci_open_adv_pipes(const uint8_t * const adv_service_data_pipes);

When i use it in my program, serial monitor says i'm in a while(1) loop. If i replace this function to:

lib_aci_open_adv_pipe(const uint8_t pipe);

It is working.

The problem is, i want to advertise more data than uint_8 (using values between 0-255 is too less)

I thought i can use "lib_aci_open_adv_pipes" to send "more" service data.

Maybe i don't know what "adv_service_data_pipes" do or where i have to initialize that.

My goal is to get GPS data and put this data into "service data". Maybe it's possible to change "lib_aci.h" that i can use something else than uint8_t ?

Can anyone help me please? :)

Related