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

How to Construction the service from standand

hi,

i try to analyze the sdk sample with the standard(Server) ,ie : basic battery service how to build GATT Requirements and Service Characteristics with the ble struct(ble_gatts_char_md_t ,ble_gatts_attr_md_t and ble_gatts_attr_t )

battery service

if the profile have some services(Server) ,ie. time profile current_time, next_dst_change and reference_time_update. how to co work with these ?

time profile

I will be grateful for any help you can provide

Parents
  • For building GATT services, it may help to first understand how each service and characteristic is structured and how the attributes are connected. Looking at similar implementations and examples can make the relationship between ble_gatts_char_md_t, ble_gatts_attr_md_t, and ble_gatts_attr_t clearer.

    Also, when working on different profiles, organizing your development resources properly is important. I recently found columbia plumbers useful as an example of a well-structured service website, which shows how different offerings can be organized clearly.

    For BLE, you may want to check the Nordic SDK examples for multiple services and see how each service is initialized and added to the GATT table.

Reply
  • For building GATT services, it may help to first understand how each service and characteristic is structured and how the attributes are connected. Looking at similar implementations and examples can make the relationship between ble_gatts_char_md_t, ble_gatts_attr_md_t, and ble_gatts_attr_t clearer.

    Also, when working on different profiles, organizing your development resources properly is important. I recently found columbia plumbers useful as an example of a well-structured service website, which shows how different offerings can be organized clearly.

    For BLE, you may want to check the Nordic SDK examples for multiple services and see how each service is initialized and added to the GATT table.

Children
No Data
Related