Skip to content

Commit a93754e

Browse files
committed
library: first implementation of the Digi XBee C# Library
The original project has been split in two modules: - XBeeLibrary.Core: contains all the common code for any platform. - XBeeLibrary.Xamarin: contains the necessary APIs to develop cross-platform mobile applications with Xamarin to communicate with XBee devices over Bluetooth Low Energy. Signed-off-by: Diego Escalona <diego.escalona@digi.com> Signed-off-by: Ruben Moral <ruben.moral@digi.com> Signed-off-by: Hector Gonzalez <hector.gonzalez@digi.com>
1 parent 45bbf58 commit a93754e

File tree

481 files changed

+74102
-17537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

481 files changed

+74102
-17537
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
**/bin
33
**/*.csproj.user
44
**/*.suo
5+
.vs/
6+
packages/

CONTRIBUTING.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# How to Contribute
2+
3+
## Getting help
4+
5+
To ask questions about the XBee C# Library go to the
6+
[Digi Forum](http://www.digi.com/support/forum).
7+
8+
9+
## Reporting a bug
10+
11+
The way to report bugs is to use the
12+
[GitHub issue tracker](http://github.com/digidotcom/xbee-csharp/issues).
13+
Before reporting a bug, please read the following points:
14+
15+
1. Make sure that it is really a bug by checking the
16+
[documentation](https://www.digi.com/resources/documentation/digidocs/90002359/).
17+
2. If you still think you have found a bug, make sure someone has not already
18+
reported it. See the list of
19+
[known issues](http://github.com/digidotcom/xbee-csharp/issues).
20+
3. If it has not been reported yet, create a new issue. Make sure to add enough
21+
detail so that the bug can be reproduced.
22+
23+
**Note**: The issue tracker is for bugs, not requests for help. Questions
24+
should be asked on the [Digi Forum](http://www.digi.com/support/forum) instead.
25+
26+
27+
## Suggesting a new feature
28+
29+
1. Consult the [documentation](https://www.digi.com/resources/documentation/digidocs/90002359/)
30+
to ensure that the behavior you would like is not excluded.
31+
2. Make sure someone has not already requested it. See the list of
32+
[known issues](http://github.com/digidotcom/xbee-csharp/issues).
33+
3. Submit your request in the issue tracker.
34+
35+
36+
## Contributing code
37+
38+
1. Fork the [XBee C# Library](http://github.com/digidotcom/xbee-csharp)
39+
repository ([how to fork a repo](https://help.github.com/articles/fork-a-repo/)).
40+
2. Create a branch for your contribution. Use a name that defines the purpose of the additions/modifications.
41+
3. Make your changes following the code style used in the library.
42+
4. Submit a pull request ([how to create a pull request](https://help.github.com/articles/fork-a-repo/#next-steps)).
43+
A project developer will review your work and then merge your request into the
44+
project, or come back to you with comments and/or questions.

README.md

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
1-
XBee C# Library
2-
=================
1+
# XBee C# Library [ ![NuGet](https://img.shields.io/nuget/v/XBeeLibrary.Core)](https://www.nuget.org/packages/XBeeLibrary.Core/) [ ![NuGet](https://img.shields.io/nuget/v/XBeeLibrary.Xamarin)](https://www.nuget.org/packages/XBeeLibrary.Xamarin/)
32

43
This project contains the source code of the XBee C# Library, an easy-to-use
54
API developed in C# that allows you to interact with Digi International's
6-
[XBee](http://www.digi.com/xbee/) radio frequency (RF) modules.
5+
[XBee](http://www.digi.com/xbee/) radio frequency (RF) modules. This source has
6+
been contributed by [Digi International](http://www.digi.com) from the original
7+
work of Sébastien Rault.
78

8-
This source has been converted from the Java version provided by [Digi International](http://www.digi.com).
9+
The XBee C# library has two modules: **XBeeLibrary.Core**, which contains all
10+
the common code for any platform, and **XBeeLibrary.Xamarin**, which contains
11+
the necessary APIs to develop multi-platform mobile applications with Xamarin
12+
to communicate with XBee devices over Bluetooth Low Energy.
13+
14+
The project includes the C# source code and multiple examples that show how to
15+
use the available APIs. The examples are also available in source code format.
916

1017
The main features of the library include:
1118

12-
* Support for ZigBee, 802.15.4, DigiMesh and Point-to-Multipoint XBee devices.
19+
* Support for ZigBee, 802.15.4, DigiMesh, Point-to-Multipoint and Cellular
20+
XBee devices.
1321
* Support for API and API escaped operating modes.
14-
* Management of local (attached to the PC) and remote XBee device objects.
22+
* Support for communicating with XBee devices over Bluetooth Low Energy
23+
(XBeeLibrary.Xamarin).
24+
* Management of local (attached to the host) and remote XBee device objects.
1525
* Discovery of remote XBee devices associated with the same network as the
1626
local device.
1727
* Configuration of local and remote XBee devices:
@@ -26,6 +36,7 @@ device.
2636
* Reception of data from remote XBee devices:
2737
* Data polling.
2838
* Data reception callback.
39+
* Transmission and reception of IP and SMS messages.
2940
* Reception of network status changes related to the local XBee device.
3041
* IO lines management:
3142
* Configure IO lines.
@@ -34,11 +45,36 @@ device.
3445
* Receive IO data samples from any remote XBee device on the network.
3546
* Support for explicit frames and application layer fields (Source endpoint,
3647
Destination endpoint, Profile ID, and Cluster ID).
48+
* Support for User Data Relay frames, allowing the communication between
49+
different interfaces (Serial, Bluetooth Low Energy and MicroPython).
50+
51+
52+
## Start Here
53+
54+
The best place to get started is the
55+
[XBee C# Library documentation](http://www.digi.com/resources/documentation/digidocs/90002359/).
56+
3757

38-
License
39-
-------
40-
This software is open-source software. Copyright Sébastien RAULT, 2014-2015.
58+
## How to Contribute
59+
60+
The contributing guidelines are in the
61+
[CONTRIBUTING.md](https://github.com/digidotcom/xbee-csharp/blob/master/CONTRIBUTING.md)
62+
document.
63+
64+
65+
## License
66+
67+
Copyright 2019, Digi International Inc.
68+
Copyright 2014-2015, Sébastien RAULT.
4169

4270
This Source Code Form is subject to the terms of the Mozilla Public
43-
License, v. 2.0. If a copy of the MPL was not distributed with this file,
44-
you can obtain one at http://mozilla.org/MPL/2.0/.
71+
License, v. 2.0. If a copy of the MPL was not distributed with this
72+
file, you can obtain one at http://mozilla.org/MPL/2.0/.
73+
74+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
75+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
76+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
77+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
78+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
79+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
80+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)