digidotcom / xbee_ansic_library

A collection of portable ANSI C code for communicating with Digi International's XBee wireless radio modules in API mode.
205 stars 118 forks source link

Rust bindings/wrapper #28

Closed reinhardknoll closed 2 months ago

reinhardknoll commented 3 years ago

It would be great if this C library could be wrapped to provide a separate Rust interface.

tomlogic commented 3 years ago

I'm all for someone forking the library and adding Rust wrappers. I personally haven't done any Rust programming, so I wouldn't be qualified to review a PR with Rust wrappers. The goal of the library was for it to be portable to any ANSI C platform, including many embedded targets (at one time it was running its ZCL stack on an 8-bit processor with 24KB of flash).

But if a Rust fork was out there, I'd be willing to update the README to point to it.

mikewadsten commented 3 years ago

I would imagine that this could be done separately using something like bindgen.