Commit Graph

4 Commits

Author SHA1 Message Date
Marcel Schulz 5f809c2aa0 Did some changes in header include structure, because the library was not compiling successfully after extracting code to SBDevice.cpp. 2017-12-15 14:06:14 +01:00
Marcel Schulz a0cb35706c Changed the library to not use AutoAcknowledge so that an analysis of the network can not be done by a simple trying to ping a device/master. The master must be paired to a device before he sends any ACK package or must enable new slaves to answer to a MASTER_SEARCH Request. The AutoAcknowledge feature would automatically send an ACK package which makes the master and any other device directly visible.
Be aware that this feature does not prevent a devices for being detected by sniffing the radio traffic, because the normal data traffic is still there and not encrypted in any way. An Encryption would hide the sender address. This would make it again more difficult to copy a sender address and simulate a paired device. (This is stikk possible now). But again, this will come later, maybe!
The best solution is to implement an encryption feature at a higher communication layer.
2017-12-15 13:55:09 +01:00
Marcel Schulz a99d91c30b Changed the lib architecture. Now you don't need to change a define in the SBNetwork_config.h to change the device type from Master to Client. You can do this in the constructor ob SBNetwork class. The code get a little bit bigger now, because the lib always compiles for both master and client device. But it is definitively better to use now. 2017-11-21 23:50:29 +01:00
Marcel Schulz 0c8e8582b9 Added sources, library properties and example code. 2017-11-20 16:54:06 +01:00