roscopetracula / hindenburgFights

11 stars 1 forks source link

look int latest developments in bluepy to see if we can replace pexpect + gatttool #21

Closed roscopetracula closed 9 years ago

roscopetracula commented 9 years ago

the bluepy project has had a few updates since i last checked it out (dec 2014). at that time i couldn't get it working, but maybe the situation has now improved. https://github.com/IanHarvey/bluepy

jef-pearlman commented 9 years ago

I did a little work on directly integrating bluepy this Sunday, and got it connecting but couldn't successfully send messages. My current best bet is that I haven't got the right Characteristic for transmission. I may not try again for a bit, and when I do I'm going to start with a separate test program, so anyone should feel to give it a try. I can push what I've done on a branch, but frankly I think you'd be better off starting from scratch. Here are my observations, for my later recall or to help others:

jef-pearlman commented 9 years ago

Update: I got transmission working, so it's more or less working the same as it did with gatttool. Who can I talk to about the best way to include a library like bluepy (particularly with an associated binary) both in python and in github?

Some more learnings:

jef-pearlman commented 9 years ago

Initial implementation d767837e696a6427fdef9646485cfba2a8603b6e. Subsequent additions and fixes are on using_bluepy branch.

jef-pearlman commented 9 years ago

Working and stable.