Vous êtes sur la page 1sur 1

Questions:

1. Is the packet transfer between controller and slave based on:

a) Variable packet format (ASCII BASED) (for e.g INFO: ID +12 bytes ID in ASCII + \r\n)

OR

b) Fixed packet format (RS485 message type (ID_Device + Function + Arguments + data payload +
CRC) = 26 Bytes?

2. Information about further Changes and Sequential flow details of the code to be implemented for
slaves.

Doubts to be confirmed:

1. The slaves transmit initially the build ID and size of ID, without being polled, this could result in
collisions.
2. The transmission between slaves and controller would not be very efficient if variable packet format
based on ASCII characters is used, causing excess transmission delays as compared to fixed packet
format.
3. In the latest version of slave code, if we consider variable Packet format based on ASCII, error
detection is not used, i.e CRC (cyclic redundancy check) is not used.

Vous aimerez peut-être aussi