I recently change BlueMesh so that when constructing BlueMeshService objects, rather than using a constructor method you now use a builder. This makes it a lot easier to add new features to BlueMesh such as support for WIFI or other operating systems. In addition, it is now a lot easier to configure BlueMesh to exactly how you want it. Here is a short example of how it works:
BlueMeshService bms;
BlueMeshServiceBuilder bmsb = new BlueMeshServiceBuilder();
bms = bmsb.uuid(UUID.fromString("fa87c0d0-afac-11de-8a39-0800200c9a66"))
.bluetooth(true)
.build();
We will be updating the documentation to reflect these new changes soon and also have some new tutorials about how to use BlueMesh.-Jerry
No comments:
Post a Comment