Skip to content

Commit 2fce77f

Browse files
committed
Correct case of "Type" in librarymanager links in examples
Arduino IDE has a feature where opening a link of the form `http://librarymanager[/<type>[/<topic>][#<search keywords>]` opens Library Manager with the specified filters and keywords prefilled. Support for specifying the "Type" filter setting was claimed during the implementation of the feature in Arduino IDE 1.x, but that never actually worked. The text in this path was simply ignored by the IDE (a fact that would not be obvious from the links used by this library, since the "All" type filter setting is the default anyway). During the reimplementation of the feature in Arduino IDE 2.x, support for specifying the Type filter setting was actually implemented correctly. Instead of ignoring this path component of the URL, the IDE requires it to match to a valid "Type" filter value. If there is no match, opening the link has no effect. This match is case sensitive. The previous URLs used the type value "all", but there is no "all" value in the "Type" filter. Instead, there is an "All" value, and that exact case must be used in order for the link to function in Arduino IDE 2.x.
1 parent 75ff473 commit 2fce77f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/WeatherMonitor/WeatherMonitor.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
TSL2561 Light Sensor to get luminosity
1010
1111
Download the needed libraries from the following links
12-
http://librarymanager/all#BMP280&Adafruit
13-
http://librarymanager/all#HTU21D&Adafruit
14-
http://librarymanager/all#TSL2561&Adafruit
15-
http://librarymanager/all#adafruit&sensor&abstraction
12+
http://librarymanager/All#BMP280&Adafruit
13+
http://librarymanager/All#HTU21D&Adafruit
14+
http://librarymanager/All#TSL2561&Adafruit
15+
http://librarymanager/All#adafruit&sensor&abstraction
1616
1717
Since the Sigfox network can send a maximum of 120 messages per day (depending on your plan)
1818
we'll optimize the readings and send data in compact binary format

examples/WeatherMonitorStream/WeatherMonitorStream.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
TSL2561 Light Sensor to get luminosity
1010
1111
Download the needed libraries from the following links
12-
http://librarymanager/all#BMP280&Adafruit
13-
http://librarymanager/all#HTU21D&Adafruit
14-
http://librarymanager/all#TSL2561&Adafruit
15-
http://librarymanager/all#adafruit&sensor&abstraction
12+
http://librarymanager/All#BMP280&Adafruit
13+
http://librarymanager/All#HTU21D&Adafruit
14+
http://librarymanager/All#TSL2561&Adafruit
15+
http://librarymanager/All#adafruit&sensor&abstraction
1616
1717
Since the Sigfox network can send a maximum of 120 messages per day (depending on your plan)
1818
we'll optimize the readings and send data in compact binary format

0 commit comments

Comments
 (0)