Perhaps surprisingly, this seems to be covered by the European Software Directive in article 6 which was implemented in member states years back, which allows for decompilation of the code by a licensed user in order to enable interoperability with another application (xDrip in this case).
- The authorisation of the rightholder shall not be required where reproduction of the code and translation of its form within the meaning of points (a) and (b) of Article (1) are indispensable to obtain the information necessary to achieve the interoperability of an independently created computer program with other programs, provided that the following conditions are met:
(a) those acts are performed by the licensee or by another person having a right to use a copy of a program, or on their behalf by a person authorised to do so;
(b) the information necessary to achieve interoperability has not previously been readily available to the persons referred to in point (a); and
© those acts are confined to the parts of the original program which are necessary in order to achieve interoperability.
- The provisions of paragraph 1 shall not permit the information obtained through its application:
(a) to be used for goals other than to achieve the interoperability of the independently created computer program;
(b) to be given to others, except when necessary for the interoperability of the independently created computer program; or
© to be used for the development, production or marketing of a computer program substantially similar in its expression, or for any other act which infringes copyright.
This is why xdrip and libre 2 works in Europe and does not work in the u.s…we also can’t use xdrip with android 10 or 11, as the extra oop algorithm provided by miaomiao was based on android 9s libre link app…we are forced to carry around their libre 2 reader…probably because it is the same as the freestyle insulin x and freestyle neo plastic that was/is not popular in the u.s.