This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generic Access (0x1800) and Gereric Attribute (0x1800)

Hi Team,

In Generic Access I want to change properties for "Device Name". Is it possible?

I want to remove Generic Attribute Service(0x1800). Is it possible?

I am modifying "UART/Serial Port Emulation over BLE " example for this.

Thanks &Regards, Milan

Parents
  • Hello,

    For your first question, the answer is yes you can. You can do something like this when you do the gap parameter initialization:

    err_code = sd_ble_gap_device_name_set(&sec_mode, (uint8_t *)DEVICE_NAME_MX1101, strlen(DEVICE_NAME_MX1101));
    

    On your second question: I don't know for sure, but I'd be surprised if you could get rid of that. It seems pretty fundamental to the other services.

  • Generic Attribute Service is mandatory to have, so you are not able to remove this.

Reply Children
No Data
Related