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

ble_??s_init_t

Could someone please explain or point me to rules for creation of such type for custom service? I did look at provided examples but there are no comments telling why members of structures are there. Especially I'm curious about metadata types.

Many thanks!

Parents
  • Hi Håkon,

    Thank you for reply. I did read AN36, read DevZone posts related to it as well. Still it isn't clear what the generic rules are. Here is an example:

    ble_srv_security_mode_t xxs_attr_md;  /* Initial Security Setting for XX Service Characteristics. */
    

    Is this member required whenever client needs access to READ service data? When CCCD is necessary? I can ask a lot of questions like that. Could you please point me to some reference documents/comments to learn this. Code examples are good but all I can do is copy them with my own assumption.

    Thank you.

    Bar.

  • Hi Bar,

    The reference document for bluetooth LE specific implementations and how it works would be the bluetooth core specification, but that's very hard to read, especially if you just want to get the basics to start your development.

    Check out this book to get a bit of better overview: shop.oreilly.com/.../0636920033011.do

    Cheers, Håkon

Reply Children
No Data
Related