Comments (1)
I thought I would ask if you believe this would be possible or would I be wasting my time.
Thanks for looking at RxComms. I'm probably a bit late responding to this and I've only just seen it.
All of the implementations I've done have been between the driver and the device, but I don't see any reason why this wouldn't work on the driver side. From the driver's perspective, if you treat your Bluetooth connection as a ICommunicationsChannel then you can use what I call the Asynchronous Model to parse your input stream and hook it up to the right code. This seems not completely different to how I added the hardware simulator into the Digital Domeworks driver. In that situation, I wrapped all the simulation code in a custom implementation of ICommunicationsChannel, called SimulatorCommunicationsChannel. In your case though, you might even get away with just using the built-in serial implementation if your Bluetooth connection can be made to "look like" a serial port.
Another approach to consider is to make your ASCOM driver support the Alpaca interface, which gives it a REST API, in effect. You can then have your control app work over WiFi or cellular networks. You could also pass the Alpaca requests via Bluetooth for times when there's no network available but you might have to implement some sort of rudimentary network layer, possibly with some help from RxComms on the driver side, to help with handling the requests.
It's a broad question and sometimes the devil is in the details, so it's hard to give concrete answers. RxComms is very flexible if you can bend your mind into the right paradigm so I have no doubt it could be made to work.
Hope that helps,
Tim
from ta.reactivecommunications.
Related Issues (12)
- Support .NET Frameworks prior to 4.7.1 HOT 4
- Asynchronous transactions HOT 2
- Transactions that time out should be marked as Failed HOT 1
- DeviceTransaction.WaitForCompletionOrTimeout() can time out too soon when called from a client application HOT 3
- Serial Device Endpoint parameter summary HOT 7
- Use of Serial Communications HOT 2
- Additional Channel inputs HOT 1
- Use ASCII expansions in diagnostic output HOT 1
- Convert to .NET Standard 2.0 HOT 1
- Break dependency on NLog
- `SerialDeviceEndpoint.IsConnectionStringValid()` should be `public`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ta.reactivecommunications.