Library to do a bluetooth dialer [closed] - python

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I need to develop a windows (and preferably also linux) program to dial a number in a bluetooth connected phone. I've doing some research, and only have found these two programs:
Bluetooth PC dialer: windows only program to input phone numbers an dial them with a click
HFP for Linux: linux only software (library+program) to use the pc as a hands free device
First approach was to think about AT commands, but I haven't succeed with that. ¿Does anybody know (or have experience) about which library to use to do only remote dial over bluetooth?
Update 9/5/2013: found some more info, but not able to work with it.

Finally I take the approach of using the operative system tools to stablish a serial connection to the device, and then use chrome app+extension (based on this answer) to send AT commands from javascript app, avoiding to code multi-platform app.

Related

How can I communicate with a vending management controller via serial port in an Android app to activate a motor or set of motors? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
This post was edited and submitted for review 4 days ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I am currently developing an Android app, the android app is sitting on a raspberry pi running Android nougat 7.1.1.
This needs to communicate with a vending management controller in order to activate a motor or set of motors.
I am unsure of the best way to establish this communication via the serial port. Any suggestions or examples would be greatly appreciated.
I have found examples of hexadecimal codes which should maybe be sent to the VMC possibly?

Running any scripting language from C++ service [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 11 months ago.
Improve this question
We have a C++ web service that helps manage and run scripts for users. We have to offer 2 APIs:
RegisterScript API: Users can register scripts for a variety of languages(Python, Ruby, JavaScript etc.) through this api
RunScript API: Users can run their previously registered scripts through this API
Right now we’re not sure how we would go about this, any pointers would be nice but we’d prefer a solution that:
Doesn’t have to start an OS process for every RunScript invocation
Doesn’t rely on running shell commands from C++
Preferably there’s an open source library/framework with support for multiple languages out of the box?
Thanks!
Jessica

Can you import python libaries into microPython? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have started a project and to test if it works, I used a Pi zero. It has buttons and then sends MIDI Messages to my PC, depending on what buttons are pressed. So a simple MIDI Controller.
Now I think that a Microcontroller, like the Pico would be better suitable for such a task, but it can only run MicroPython.
So my question is, wether you can import most or all of the python libaries into microPython or if I should use another MicroController that can run python.
Usually "no." It won't fit.
So my question is, wether you can import most or all of the python libaries into microPython or if I should use another MicroController that can run python.
While MicroPython shares much of the syntax of Python (3.4), it is different enough that anything but the most trivial Python code will not run under MicroPython. In general, you should only expect to run code developed explicitly for MicroPython on a MicroPython capable device.
So my question is, wether you can import most or all of the python
libaries into microPython or if I should use another MicroController
that can run python.
I don't believe there are any microcontrollers available that can run standard Python. The smallest device you're going to find is probably something like the Raspberry Pi Zero.

How to make a voice assistant in python that always listen for inputs? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am making a voice assistant in python following the tutorial on YouTube by "Code with harry". I have successfully added some more functionalities. The file is of extension .pyw so it runs in the background. The problem I am facing is that sometimes when I run the script it runs as I want it to i.e. always listening for inputs especially after executing a command but most of the time, when I run the script it stops listening after I give it a command. Let's say I asked it to open chrome and it opened it then it would stop listening until I close chrome. How do I fix this?
tutorial link - https://www.youtube.com/watch?v=Lp9Ftuq2sVI&t=1693s
Any help would be really appreciated. Just so you know I am not a pro in coding.
I got it working. The culprit was "webbrower.open()"
The code stopped once this line ran. So I found an alternative. "os.system()"
This worked perfectly.

Python script to monitor program and control microcontroller [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
NOTE: System will not be connected to a network
I'm automating a device and need to create a script that will communicate with the micro-controller (to drive the motors) and with the original software (Thermo Fisher Scientific). The original software has a GUI interface but no API.
My original thought was to write a python script to first set the motors to the correct position -> then run the software -> save the data -> repeat.
I know how to communicate with the micro-controller to set the motors, but I'm unsure of how to communicate with the original software. Any advice on how to do this with python would be much appreciated.
Alternative methods are also welcome.
Thanks.
I have used AutoIt to solve similar problems. There is a Python extension available (I have never used this).
AutoIt v3 is designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks.
When using the python extension you will be able to directly interact with the GUI app from your source code.
Alternatively you can also just build an Autoit executable to drive the software if the input into the GUI software is always the same.

Categories