Skip to content

Commit

Permalink
Merge pull request #984 from NightscoutFoundation/tzachi-limitterd2
Browse files Browse the repository at this point in the history
Recognize new droplet device.
  • Loading branch information
jamorham authored Aug 20, 2019
2 parents 33fe112 + 4973a1b commit 4692318
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ protected void onListItemClick(ListView l, View v, int position, long id) {
if (device.getName().toLowerCase().contains("limitter")
&& (adverts.containsKey(device.getAddress())
&& ((new String(adverts.get(device.getAddress()), "UTF-8").contains("eLeR"))
|| (new String(adverts.get(device.getAddress()), "UTF-8").contains("data"))))) {
|| (new String(adverts.get(device.getAddress()), "UTF-8").contains("data"))))||
device.getName().toLowerCase().contains("limitterd")) {
String msg = "Auto-detected transmiter_pl device!";
Log.e(TAG, msg);
JoH.static_toast_long(msg);
Expand Down

0 comments on commit 4692318

Please sign in to comment.