Mr-Markus / ZigbeeNet

A .NET Standard library for working with ZigBee
Eclipse Public License 1.0
131 stars 47 forks source link

Abstract Hardware Interface #9

Closed nicolaiw closed 5 years ago

nicolaiw commented 6 years ago

A end user should probably only need to do:

var zigbeeInt = ZigbeeNet.CC2531(); // Static function to initialize the interface
zigbeeInt.PacketReceived += MyPacketHandler;
zigbeeint.Send(amazing stuff);

Originally posted by @eiaro in https://github.com/Mr-Markus/ZigbeeNet/issues/6#issuecomment-430584007

nicolaiw commented 6 years ago

I currently do not have any Hardware for testing but already ordered one. May be we could have a look at https://github.com/zsmartsystems/com.zsmartsystems.zigbee (java). This project also includes code for hardware abstraction. One of the supportet hardware is the cc2531 (https://github.com/zsmartsystems/com.zsmartsystems.zigbee/tree/master/com.zsmartsystems.zigbee.dongle.cc2531). It looks well structured and may be we can take over some of the Ideas.

Mr-Markus commented 5 years ago

done!