Explorar o código

added address to transport layer

stefan hai 9 meses
pai
achega
c5d9aaa9c4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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                    */