"Easy transfer" reliability when there are 3 parties communicating


i've been using bill porter's "easy transfer" library
http://www.billporter.info/2011/05/30/easytransfer-arduino-library/
over half duplex rs485 connection , works reliably when there 2 parties talking in master slave fashion. can send thousands of messages , see decoded slave.

if add second slave same bus uses different packet format, take turns sending message 1 slave , other, 1 in every 200 or packets fails decoded 1 or other of slaves.

the master uses 2 instances of easytransfer object each unique struct created each slave. alternately pipe output same hardware serial port flush @ end of each transmission ensure there no cross contamination of outgoing message bytes.

on each slave i'm guessing easytransfer::receivedata() function getting confused 'unwanted' data intended other slave arrives in receive buffer prefix 'wanted' data. sound plausible?



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > "Easy transfer" reliability when there are 3 parties communicating


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'