Rick M
Rick M
I'm not sure exactly what's going on. I try to connect using the following code ``` console.log("Connecting to sessionBus 'unix:path=" + process.env.DBUS_LAUNCHD_SESSION_BUS_SOCKET.toString() + "'"); bus = dbus.sessionBus({ busAddress : "unix:path="...
DBus 1.10 supports `launchd` addresses directly, according to the [spec](http://dbus.freedesktop.org/doc/dbus-specification.html#transports-launchd). They take the form `launchd:env=SOME_ENV_VAR`. The examples I've found on line result in ``` launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET ``` I'm currently connecting to...
The docs talk about "dbus.createClient(options)", but the example shows "dbus.createConnection()."
The Swift [ArgumentParser](https://github.com/apple/swift-argument-parser) library makes it easy to parse command-line arguments. I feel like it should be possible to directly provide a `Path` argument: ```swift struct Calculate : ParsableCommand {...
https://borkedlabs.com/blog/2018/02-03-sam-m0-eeprom-linker/
This commit adds * `client_context` to the `_modbus` struct * `modbus_set_client_context()` * `modbus_get_client_context()` * Documentation for the above The code otherwise ignores `_modbus.client_context`. It is available to calling code for...
It would be helpful to have be able to store some user data with the context, primarily for use in callback functions. E.g.: ```c MODBUS_API void modbus_set_user_data(modbus_t *ctx, void *user_data);...
Warnings
Under Xcode 6.1, I get numerous warnings, mostly about the use of dispatch_get_current_queue() being deprecated (which IMHO is a mistake to deprecate). I also get a few more with v2.3:...
The example code uses dispatch_get_current_queue(), but that's not accessible from Swift. You need to change HTTPConnection to keep a reference to its queue.
In Xcode 6.1, the deployment target is blank, and it seems to then not define MAC_OS_X_VERSION_MIN_REQUIRED, which makes the NEEDS_DISPATCH_RETAIN_RELEASE be undefined. It should instead assume the MIN is the...