arduino / library-registry

Arduino Library Manager list
https://www.arduino.cc/
Creative Commons Zero v1.0 Universal
252 stars 1.62k forks source link

GSM (inside the mbed core) and GSM (standalone) have same library name #4555

Closed aliphys closed 5 months ago

aliphys commented 5 months ago

Describe the problem

User can access two libraries named GSM that are accessible from the IDE.

This raises several concerns:

To reproduce

  1. Open the Arduino IDE
  2. With a mbed board selected, click on File -> Examples. Noticed the GSM library included there image
  3. Go to the Library manager in the IDE. Search for GSM. This is the retired GSM library yet this is not mentioned Untitled

Expected behavior

Additional context

No response

Issue checklist

per1234 commented 5 months ago

Hi @aliphys.

The external library is retired, yet there is no indication

This will be resolved by https://github.com/arduino/library-registry/pull/4556

The internal GSM library in the mbed core, has no description apart from sentence=GSM wrapper.

That is off topic for this repository. You can submit a pull request to the repository where that library is hosted:

https://github.com/arduino/ArduinoCore-mbed

If a non-mbed board is selected and both libraries are loaded, then #include "GSM.h" will select the standalone library.

This is off topic for this repository, it is also exactly how the Arduino sketch build system is designed to work. "Platform bundled" library are only discoverable by the sketch build system when a board of that platform is selected.

A alternative library is provided instead of the standalone GSM library for non mbed boards

Of course registration of such a library will be welcome, but the subject of creation of the library is off topic here.

aliphys commented 5 months ago

That is off topic for this repository. You can submit a pull request to the repository where that library is hosted: https://github.com/arduino/ArduinoCore-mbed

Thanks! Documented issue here -> https://github.com/arduino/ArduinoCore-mbed/issues/886

MatteoPologruto commented 5 months ago

Done:

2024/05/23 14:47:52 Loaded 6939 libraries from DB
Success!