Giter Site home page Giter Site logo

pymtprotocol's People

Contributors

piannucci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pymtprotocol's Issues

GLM100C Protocol

Hey there, great work!

Where did you find a specification of the GLM100C Protocol. I'm trying to read me measurement date with a custom android app without luck so far.

Listener for measurements

Hi again,

One other thing, is there a chance to set the python code to listen for measurements, as opposed to triggering them? So that the measurement is triggered by the Bosch rather than by python?

Cheers,

Freddy

AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_task'

Hi @piannucci

Thanks for the work you've done here. I'm developing an app for a customer who uses the GLM 50 and I need to read data from Bluethooth, so i think your code would really help me.

The problem is that I cannot start the server. I'm not a Python developer so i'm not sure if i'm doing things right, but when i do python glm-server.py i get this:

Traceback (most recent call last):
  File "glm-server.py", line 471, in <module>
    loop.create_task(runBluetoothCentralManager(
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_task'

I'm using Python 3.4.0.

Thanks a lot!!!

laserOn / laserPointerEnabled not controllable

Hi there,

First of all, thank you so much for such brilliant work - I was able to combine it with the keyboard lib to listen for a hotkey, and then write the measurement into the keyboard buffer - using it to effectively start a line in sketchup and then trigger the measurement to determine it's length... brilliant!

However, where I am getting stuck is to try and activate the laser before the measurements (permanently) - I am wanting to basically do what you can when holding down func and go down in the menu to permanently activate the laser (but not stake out).

I have tried to fiddle with the laserOn and laserPointerEnabled settings via variations of code like

glm.writeSettings(glm.readSettings(), laserOn=1)
and
glm.writeSettings(glm.readSettings(), laserPointerEnabled=True)

, and while it does not throw an error, it has not the desired effect.

Have you been able to make this work during your experimentation? Any tips?

Thanks again,

F

Exiting with `Segmentation fault: 11`

Hey there,

thanks for your work to reverse engineer the protocol and sharing it!
When I execute glm-server.py I just get Segmentation fault: 11, then it exits. I don't have a clue where to start.

I found this, but as it got fixed within 3.3.3 this shouldn't be the issue https://stackoverflow.com/questions/19531969/segmentation-fault-11-in-os-x

The GLM 100 C is connected via Bluetooth, it shows up as BOSCH GLM 100 C x0524 (same on a Windows laptop). Is this how it should be or could the device be broken? Seems a bit strange to me having a hex value within the Bluetooth name.

Thanks for your help!

MacBook Pro 13" Late 2016
MacOS Sierra 13.3.3
Python 3.6.0 :: Anaconda 4.3.1 (x86_64)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.