The Discovery Control Messages handles the Discovery Process.

In Discovery Process Azande Studio will be updated with following information from Target:

  • Available Target Features
  • Target Information



START_TARGET_DISCOVERY {0x77, 0x01}

Azande Studio ==>> Target


  • This message is sent from Azande Studio to Target.
  • When Target receive START_TARGET_DISCOVERY message it will send following messages to Azande Studio:
    • A TARGET_INFORMATION_XML message.
    • A FEATURE_XML_DEFINITION message for each Feature.



Byte#

0

1

2

3

4

5

Name

START

ID

SUB ID

CRC MSB

CRC LSB

END

Value

0xAA

0x77

0x01

0x9C

0xE0

0xBB





FEATURE_XML_DEFINITION {0x77, 0x02}

Target ==>> Azande Studio


  • This message is sent from Target to Azande Studio
  • When Target receive START_TARGET_DISCOVERY, Target will send each feature in a FEATURE_XML_DEFINITION message to Azande Studio.


Byte#

0

1

2

3 .. N-3

N-2

N-1

N

Name

START

ID

SUB ID

PAYLOAD

CRC MSB

CRC LSB

END

Value

0xAA

0x77

0x02

XML definition of one single feature

CRC16-CITT

0xBB




TARGET_INFORMATION_XML {0x77, 0x03}

Target ==>> Azande Studio


  • This message is sent from Target to Azande Studio.
  • The message holds a XML definition of the Target.
  • When Target receive START_TARGET_DISCOVERY, Target will send a TARGET_INFORMATION_XML message to Azande Studio.


Byte#

0

1

2

3 .. N-3

N-2

N-1

N

Name

START

ID

SUB ID

PAYLOAD

CRC MSB

CRC LSB

END

Value

0xAA

0x77

0x03

XML definition of Target

CRC16-CITT

0xBB





TARGET_FEATURE_LIST_CHANGED_EVENT {0x77, 0x04}

Target ==>> Azande Studio


  • This message is sent from Target to Azande Studio.
  • This message notifies Azande Studio that the list of available Features has changed in Target.
  • Azande Studio will initiate a new Target-Discovery when receiving this message.



Byte#

0

1

2

3

4

5

Name

START

ID

SUB ID

CRC MSB

CRC LSB

END

Value

0xAA

0x77

0x04

0xCC

0x45

0xBB


Note: With escaping message becomes: AA, 77, 04, CC, FF, 45, BB