C-Bus Forums  

Go Back   C-Bus Forums > C-Bus Integration > C-Bus Serial Protocols

The C-Bus Community Forums is place where C-Bus users can share information and help others with C-Bus. From time to time you will see Clipsal staff on the forums, but this is not an official support channel. If you really need help contact the official support services of Clipsal. More information about the purpose of this forum is available here.

Thread Tools Display Modes
Old 21 Oct 16, 07:43 PM
Paolo Paolo is offline
New Member
Join Date: Oct 2010
Location: UK
Posts: 6
Default 2 quick clarifications on Replies format

I am trying to finalise a comprehensive "Reply analysis" loop for messages coming from the Serial Interface. I have 2 questions that I can't find the definitive answer in the User Guide or this forum:
1) Is the "!" character always followed by <cr><lf> or could it be sent on its own?
2) Are Confirmations only sent if they have been asked for by the same serial interface (and therefore will never show up if one never asks for one) or could there be other Confirmations popping up for some obscure reason?

Basically I want to keep my loop simple and based on a "readline" type of command rather than reading the replies byte by byte. Answers to those 2 questions should settle the case.

Reply With Quote
Old 21 Oct 16, 09:11 PM
rhamer's Avatar
rhamer rhamer is offline
Senior Member
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 672

From memory;

1 Yes. Or to be more specific it's the same as any other message sent from the PCI.

2 The confirmation is sent in response to a request for one, as part of the outbound message. i.e. If you append the character g-z then a confirmation message will be returned, if you don't then it won't.

BTW the ! Means the message was not received correctly, possibly because of a checksum error or an overflow, so you should consider the message lost.



Makers of the Translink C-Bus Gateway
for the Apple iPad, iPhone and iPod Touch.

Last edited by rhamer; 21 Oct 16 at 09:17 PM.
Reply With Quote
Old 22 Oct 16, 12:24 AM
Paolo Paolo is offline
New Member
Join Date: Oct 2010
Location: UK
Posts: 6

Thanks Rohan, appreciated.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decode MMI's? Ingo C-Gate Developers 13 05 Apr 11 07:23 PM
Quick Start Learn Mode on Dimmers & Relays industeq General Discussion 1 22 Oct 09 09:00 AM
Time format error for help Rommel C-Touch/HomeGate/SchedulePlus/PICED Software 9 10 Feb 07 04:04 AM
PICED v3.5 Paint Format query? MichaelCarey C-Touch/HomeGate/SchedulePlus/PICED Software 4 05 May 06 12:19 AM
PICED Paint Format - Suggested small change pls JohnC C-Touch/HomeGate/SchedulePlus/PICED Software 1 15 Mar 06 10:10 AM

All times are GMT +10.5. The time now is 09:32 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.