Browse Source

added address to transport layer

stefan 9 tháng trước cách đây
mục cha
commit
c5d9aaa9c4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      api/shellmatta.h

+ 1 - 0
api/shellmatta.h

@@ -259,6 +259,7 @@ typedef struct
     uint32_t                        payloadIndex;       /**< read index of the payload                      */
     uint32_t                        crcIndex;           /**< read index of the checksum                     */
     uint8_t                         hostBufferSize;     /**< buffersize of the host                         */
+    uint8_t                         address;            /**< address of the shellmatta                      */
     uint8_t                         uuid[SHELLMATTA_TRANPORT_UUID_LENGTH]; /**< uuid if the shellmatta      */
     shellmatta_transport_packet_t   inPacket;           /**< buffer for the received packets                */
     shellmatta_transport_packet_t   outPacket;          /**< buffer for the sent packets                    */