Success sending a string using Zigbee Cluster: ZCL_CLUSTER_ID_GEN_MULTISTATE_VALUE_BASIC

@mike.maxwell
Mike, I just want to thank you again for your help. I was able to sort out a solution (maybe not the only or best) but I have succeeded. see below

Goal: Send a String to a PTVO based CC2530 acting as a UART.

   Zigbee Cluster:  ZCL_CLUSTER_ID_GEN_MULTISTATE_VALUE_BASIC
   Zigbee Attributes: ATTRID_IOV_BASIC_STATE_TEXT  -  UART data.
      use:   ZCL_DATATYPE_CHAR_STR (0x42)

My solution:

he raw 0x000 0x01 0x01 0x0014 {104 3 02 0E00 42 0461626364}
       ^      ^    ^    ^       ^  ^  ^  ^    ^  ^ ^
       |      |    |    |       |  |  |  |    |  |  ` 0x61 = 'a', 0x62 = 'b', 0x63 = 'c', 0x64 = 'd'
       |      |    |    |       |  |  |  |    |   ` 0x04 = string size (4 ascii characters, 1 byte per char)
       |      |    |    |       |  |  |  |     ` 0x42 = string data type
       |      |    |    |       |  |  |   ` 0x000E = attribute id (reversed / little endian)
       |      |    |    |       |  |   `  Read/Write
       |      |    |    |       |   `  UNK
       |      |    |    |        ` Profile ID ??      
       |      |    |     ` 0x0014 = cluster id
       |      |     ` 0x01 = device (destination) endpoint id
       |       ` 0x01 = hub (source) endpoint id
        ` replace with ${device.deviceNetworkId}
2 Likes