Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BerryLan App ver 1.0.43 (latest) version filters/blocks devices #57

Open
KidProtext opened this issue May 11, 2021 · 16 comments
Open

BerryLan App ver 1.0.43 (latest) version filters/blocks devices #57

KidProtext opened this issue May 11, 2021 · 16 comments

Comments

@KidProtext
Copy link

Hello,

BerryLan is a great app. It was working until 1.0.37. But the latest version does not detect the pi device over bluetooth. The release notes on the latest update shows,

  • Ask for Bluetooth permissions
  • Filter for BerryLan compatible devices

Please share more information. This update has broken backward compatibility. I could see the device on the laptop over bluetooth. But the app doesn't detect it.

Appreciate an expedient reply. Thank you very much.

-Chandra

@mzanetti
Copy link
Member

Hello,
1.0.43 actually should fix this again. 1.0.42 indeed had a backwards compatibility issue.

https://forum.nymea.io/t/ios-berrylan-1-0-42-no-longer-finds-broadcasting-pi/558

@KidProtext
Copy link
Author

Thank you for the response. I tested and notice it is still broken in the latest version (1.0.43). The device is not getting listed in the App. The device is visible from the Windows laptop bluetooth devices list. I even tried to rename the device ID to "BT WLAN Setup" as suggested in the link above. Still it is not getting recognized. Is anyone else seeing the same issue?

@mzanetti
Copy link
Member

I've just flashed an old image and tested with the latest app... It seems to work fine. The issue must be something else... Does the app have the required permissions? Is this iOS or Android?

@KidProtext
Copy link
Author

Our device runs on Raspbian stretch. We ran "deb http://repository.nymea.io stretch main raspbian" | tee /etc/apt/sources.list.d/nymea.list" to install BerryLan on the Pi. The issue is there on both iOS and Android with the latest version of the App. We went back to the older version of the App from Apptoide. The older version of the app still works.

@mzanetti
Copy link
Member

Oh, I see... you're on Debian stretch still... We've turned off builders for that recently as Debian Buster is now stable for a long time already.
Anyhow, this doesn't explain why it wouldn't be working... If the Bluetooth device name is "BT WLAN setup" it really should pick it up nevertheless.

@jbcirs
Copy link

jbcirs commented Jul 2, 2021

I have a bunch of devices running Raspbian version 9 stretch. Since this release I can't see the devices using the BerryLan app on Android. If I scan for them outside the app, I find them. Is their any info I can give you to help you trouble shoot this or do you have a status update on a fix in progress?

@mzanetti
Copy link
Member

mzanetti commented Jul 2, 2021

Did you change the device name?

@jbcirs
Copy link

jbcirs commented Jul 2, 2021

Yes, all the devices have custom names on them.

@mzanetti
Copy link
Member

mzanetti commented Jul 2, 2021

The latest version does indeed filter (intentionally) devices. It only shows devices that provide the nymea-networkmanager service UUID in the SDP record or - for backwards compatibility - the old default name of "BT WLAN setup".

Now, the issue is that we've dropped support for stretch so your devices won't get the nymea-networkmanager update and hence not having that serivce UUID... I'll see if I can manually build and upload an update for stretch...

@mzanetti
Copy link
Member

mzanetti commented Jul 2, 2021

Out of curiosity, why not updating to buster?

@jbcirs
Copy link

jbcirs commented Jul 2, 2021

They are being used in an iot mobile printer solution that is self contained for an organization spread throughout the US. Their is no practical way for me to remotely update them.

@mzanetti
Copy link
Member

mzanetti commented Jul 2, 2021

I see... Updated packages for stretch are uploaded. Note that the custom name is limited to 8 characters for it to work. Bluetooth LE SDP record size won't fit more when the service UUID is in there.

@jbcirs
Copy link

jbcirs commented Jul 2, 2021

I am still not able to see the devices via the app. I have even uninstalled and reinstalled the app on my phone. Outside of the app it does show in Bluetooth devices.

@mzanetti
Copy link
Member

mzanetti commented Jul 3, 2021

did you update nymea-networkmanager on the rasberry pi?

@jbcirs
Copy link

jbcirs commented Jul 3, 2021

I don't have the ability to update any of the rasberry pi's as they are in devices all over the US that I would have to have sent to me to take them apart to update them. The last update I made for these devices was in early 2020. Is their a way to update the mobile app to support these again?

@mzanetti
Copy link
Member

mzanetti commented Jul 4, 2021

I've added a setting to berrylan to disable the filtering. It's building currently and should be uploaded to app stores soonish (Apple review might take a couple of days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants