X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=usrp%2Fhost%2Flib%2Finband%2Fusrp_server.mbh;h=ed7943fc377751981634131181438fc8ea63f351;hb=9d1423b9506c89a51a10b6119d01ce9a82a13b0c;hp=97bb0e664053860e8a2f23cb1bb8dbbc5883f84a;hpb=0bf2128a621ae84099f43744e1b81800f2b9d2d7;p=debian%2Fgnuradio diff --git a/usrp/host/lib/inband/usrp_server.mbh b/usrp/host/lib/inband/usrp_server.mbh index 97bb0e66..ed7943fc 100644 --- a/usrp/host/lib/inband/usrp_server.mbh +++ b/usrp/host/lib/inband/usrp_server.mbh @@ -6,7 +6,7 @@ ;; ;; GNU Radio is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) +;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; ;; GNU Radio is distributed in the hope that it will be useful, @@ -40,9 +40,8 @@ ;; mechanism to match asynchronous responses with the commands that ;; generated them. ;; -;; status is either #t, indicating success, or a pair containing -;; (status-code . message), where status-code is a symbol and message -;; is a string. +;; status is either #t, indicating success, or a symbol indicating an error. +;; All symbol's names shall begin with %error- ;; ---------------------------------------------------------------- @@ -107,7 +106,7 @@ ;; (op-ping-fixed-reply rid ping-value) ;; (op-write-reg reg-number reg-value) ;; (op-write-reg-masked reg-number reg-value mask-value) -;; (op-read-reg rid reg-number reg-value) +;; (op-read-reg rid reg-number) ;; (op-read-reg-reply rid reg-number reg-value) ;; (op-i2c-write i2c-addr u8-vec) ;; (op-i2c-read rid i2c-addr nbytes) @@ -128,7 +127,7 @@ (:incoming - (response-from-control-channel invocation-handle status list-of-subpackets) + (response-from-control-channel invocation-handle status list-of-subpackets timestamp) ) ) @@ -145,7 +144,7 @@ (:outgoing - (cmd-xmit-raw-frame invocation-handle channel samples timestamp) + (cmd-xmit-raw-frame invocation-handle channel samples timestamp properties) ;; The argument channel must be an integer. It specifies the ;; channel on which the frame of samples will be be sent. @@ -203,7 +202,7 @@ (:incoming - (response-recv-raw-samples invocation-handle status samples timestamp properties) + (response-recv-raw-samples invocation-handle status samples timestamp channel properties) ;; samples is a uniform numeric vector. The contents of the sample ;; vector is treated as opaque and is passed from the FPGA @@ -248,9 +247,9 @@ (:incoming (response-open invocation-handle status) (response-close invocation-handle status) - (response-max-capacity invocation-handle capacity) - (response-ntx-chan invocation-handle ntx-chan) - (response-nrx-chan invocation-handle nrx-chan) - (response-current-capacity-allocation invocation-handle capacity) + (response-max-capacity invocation-handle status capacity) + (response-ntx-chan invocation-handle status ntx-chan) + (response-nrx-chan invocation-handle status nrx-chan) + (response-current-capacity-allocation invocation-handle status capacity) ) )