Implements USRP2 poke32() command.
[debian/gnuradio] / usrp2 / host / lib / usrp2_impl.h
index 0a6b97b860385501e686056ce5fff96edb3a21ff..0400a108b864a55c287603214403a618debc7300 100644 (file)
@@ -27,6 +27,8 @@
 #include "ring.h"
 #include <string>
 
+#define MAX_SUBPKT_LEN 252
+
 namespace usrp2 {
   
   class eth_buffer;
@@ -175,6 +177,7 @@ namespace usrp2 {
     bool burn_mac_addr(const std::string &new_addr);
     bool sync_to_pps();
     std::vector<uint32_t> peek32(uint32_t addr, uint32_t words);
+    bool poke32(uint32_t addr, const std::vector<uint32_t> &data);
   };
   
 } // namespace usrp2