Quicr / hactar

Hardware design for test device
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Hactar Hack Plan - First Chat Message #21

Open suhasHere opened 8 months ago

suhasHere commented 8 months ago

Let's pick a task and assign name so to avoid duplication

suhasHere commented 8 months ago
struct WatchRoom {
  std::string publisher_uri; // quicr namespacee matching the publisher
  std::string room_uri; // matches quicr namespace for the room namespace
};

Today, len is uin32_t
encode(WatchRoom) --> [Type][len][publisher_uri as bytes][len][room_uri as bytes]