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

Cannot open adv pipe

Hi,

I want to change the device name before advertising. But it looks like I cannot open the adv pipe.

I have set writeable device name both from air and from application controller(with pipe)

lib_aci_open_adv_pipe(1) is invoked after nRF8001 setup finished(ACI_DEVICE_STANDBY is received). But I got ACI status code (0x95) ACI_STATUS_ERROR_PIPE_TYPE_INVALID.

in services.h I can see the pipe for device name /* Service: Gap - Characteristic: Device name - Pipe: SET */ #define PIPE_GAP_DEVICE_NAME_SET 1 #define PIPE_GAP_DEVICE_NAME_SET_MAX_SIZE 6

Anyone has any idea ?

Thanks

Parents
  • Can you upload your configuration xml file? Did you enable the device name in nRFgo studio? Not that the device name has to be added to the advertisement packet in nRFgo studio. So you do not need to open a pipe in this case. Open_adv_pipe is used if you want to add service data to the advertisement packet (This must also be added in nRFgo studio)

Reply
  • Can you upload your configuration xml file? Did you enable the device name in nRFgo studio? Not that the device name has to be added to the advertisement packet in nRFgo studio. So you do not need to open a pipe in this case. Open_adv_pipe is used if you want to add service data to the advertisement packet (This must also be added in nRFgo studio)

Children
No Data
Related