Linefeed in RawDataComLayer of FORTE [message #1736149] |
Mon, 27 June 2016 03:26  |
Eclipse User |
|
|
|
Hi,
I noticed in the FORTE sources, that the RawDataComLayer class appends a linefeed character to the data it sends. This behaviour is in conflict with openHAB MQTT bindings, which do not expect any control characters and we need to use openHAB to create an easy home automation interface (at least it seems to be the best choice for now).
In my opinion a raw data comm class should not append any additional characters, this would be the Job of classes derived from RawDataComLayer, which need to handle some special communication requirements.
Please advice, how I can change this, without a big Impact on the rest of the FORTE communication layer classes (e.g. create a new derived class from RawDataComLayer and override the send method). It's an easy Job to change the existing code, but i want to do it in the right way, without creating too much havoc 
Thanks and kind regards
Herwig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.49991 seconds