stack/gap/gap_ble.c gap_attr_db_init 会注册gap的server。 stack/gatt/gatt_attr.c gatt_profile_db_init会注册GATT的server。