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

Does ble_ots really needs fds?

fds appears twice in ble_ots:

1. In ble_ots_init:

err_code = fds_init();

2. on_disconnect

err_code = fds_gc();

It does not look like fds is really used in ble_ots

Parents
  • Hi,

    It doesn't look like that example uses FDS as is, but please note that it is an "experimental" example, which means it has not undergone much testing and must be treated as work in progress. I do not currently know if FDS has been used in previous versions of the example, or if use of FDS is planned for a future version of the example, but I will keep you updated if I get to know.

    Regards,
    Terje

  • Hi,

    I can now confirm that FDS was used in a previous version of the example, and it is left in there because it would make sense to reintroduce it again at a later point in time. As written previously, this is an experimental example (using an experimental BLE service implementation.) It is not thoroughly tested, not optimized for code size, and the code is not cleaned up. You can safely remove FDS from it if you want to use it for your own project, or you can also choose to start using it for storing the data transferred. In any case you should not treat it as a finished service implementation.

    Regards,
    Terje

Reply
  • Hi,

    I can now confirm that FDS was used in a previous version of the example, and it is left in there because it would make sense to reintroduce it again at a later point in time. As written previously, this is an experimental example (using an experimental BLE service implementation.) It is not thoroughly tested, not optimized for code size, and the code is not cleaned up. You can safely remove FDS from it if you want to use it for your own project, or you can also choose to start using it for storing the data transferred. In any case you should not treat it as a finished service implementation.

    Regards,
    Terje

Children
No Data
Related