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

Bluetooth no longer working #86

Closed
shawaj opened this issue Jul 15, 2021 · 5 comments
Closed

Bluetooth no longer working #86

shawaj opened this issue Jul 15, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@shawaj
Copy link
Member

shawaj commented Jul 15, 2021

Bluetooth no longer detected on any testnet devices

@vpetersson
Copy link
Contributor

Good catch. Deployed an experimental update that we wanted to test there. Wasn't intended to be deployed to mainnet.

@vpetersson
Copy link
Contributor

Let's resolve this in #81

@shawaj
Copy link
Member Author

shawaj commented Jul 15, 2021

I guess the issue is here:

def config_search_param(command, param):
"""
input:
command: Command to execute
param: The parameter we are looking for in the response
return: True is exist, or False if doesn't exist
Possible exceptions:
TypeError: If the arguments passed to the function are not strings.
"""
if type(command) is not str:
raise TypeError("The command must be a string value")
if type(param) is not str:
raise TypeError("The param must be a string value")
result = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
out, err = result.communicate()
out = out.decode("UTF-8")
if param in out:
return True
else:
return False

@vpetersson
Copy link
Contributor

I'll let @robputt worry about that :)

@robputt robputt added the bug Something isn't working label Aug 4, 2021
@shawaj
Copy link
Member Author

shawaj commented Aug 16, 2021

Fixed in #92

@shawaj shawaj closed this as completed Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants