In the past weeks I have been actively testing and updating the project, here are the changes so far:
aquila-gateway - Launched version 0.4.2:
- Now you can install it directly from npm as a global package and use it as a command line program. Instructions are on the README of the github repo.
- Implemented experimental TCP Transport: Instead of connecting the Bridge directly via Serial, you can connect it remotely via a TCP transport. For example, connecting the Bridge to a ESP8266 and then to the Gateway via WiFi.
- Framing error fixes: The serial communication between the Bridge and the Gateway uses a protocol called SLIP, it has an start and end character for delimiting packets. Sometimes, when starting the Gateway, the Bridge could be in the middle of receiving a packet from a device and the Gateway would get an incomplete packet, this would cause a "Framing error". Ideally, it should only lose that packet and continue normally, but due the way the node-slip library was implemented, it would cause all the following packets to be also erroneous, a "frame error train".
I added the validation for that special case to the node-slip library in a fork and used it in aquila-gateway, now it works as expected.
- Other minor bug fixes.
Embedded MQTT-SN library - MQTTClient:
- Fixed a bug: When connecting with "last will" enabled, it would always return a success even when it failed.
- Updated examples, changed default PAN address to 1, the default in aquila-gateway.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.