aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/rpc_server.py
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Cache connection type in PeriphManagerBaseMartin Braun2017-12-221-1/+6
| | | | | | Now, when claiming a device, the connection type will be stored as a string in PeriphManagerBase. This way we can read out the current connection type even when not currently inside an RPC call.
* mpm: Remove leading _ from _get_device_info()Martin Braun2017-12-221-1/+1
| | | | Use @norpc instead. This fixes some linting issues.
* mpm: Improve exception/error handlingMartin Braun2017-12-221-19/+75
| | | | | | | | - Any RPC call with uncaught exceptions will result in additional logging on MPM side - Adds get_last_error() API call - get_last_error() is populated by various methods within rpc_server.py, but also from every uncaught exception
* mpm: server supports binary strings being sent across rpcBrent Stapleton2017-12-221-2/+7
|
* mpm: RPC methods now tell us if they need a claimMartin Braun2017-12-221-7/+8
| | | | | | On the RPC server side, we keep track of which methods require a claim token. MPM shell uses this info to automatically add claim tokens when required.
* mpm: Check rpc server has matching lock release/acquiresMartin Braun2017-12-221-1/+2
|
* mpm/mpmd: Call init() during UHD session init, not on hwd spawnMartin Braun2017-12-221-9/+33
|
* mpm: RPC servers own methods can no longer be overwrittenMartin Braun2017-12-221-0/+1
|
* mpm: Improved token checking in RPC serverMartin Braun2017-12-221-8/+31
|
* mpm: Addition Py3k fixes, all related to string/UTF-8/ascii differencesMartin Braun2017-12-221-14/+24
| | | | - Also fixed some error handling in various cases
* mpm: Made code Python3-compatibleMartin Braun2017-12-221-0/+3
|
* mpm: RPC server now provides decorators for no token and no RPCMartin Braun2017-12-221-22/+47
| | | | - Also token length is now variable, and 16 characters
* mpm: RPC server unitializes a device when claim is lostMartin Braun2017-12-221-0/+1
|
* mpm: Enabled mboard EEPROM readoutMartin Braun2017-12-221-2/+1
|
* mpm: Updating ref clock frequency will propagate to dboard, changed slot ↵Martin Braun2017-12-221-1/+1
| | | | indexing to numbers
* mpm: Moved over to new logging infrastructureMartin Braun2017-12-221-18/+11
| | | | Also currently hardcodes some settings.
* mpm: comment out functionality to make it workAndrej Rode2017-12-221-7/+5
| | | | | | | | - add uio udev find routine - add debug prints Signed-off-by: Andrej Rode <andrej.rode@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: mpm reorganizationAndrej Rode2017-12-221-41/+161
|
* mpm: CMake cleanup, Python code enhancementsAndrej Rode2017-12-221-27/+64
| | | | | - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
* mpm: python refactoringAndrej Rode2017-12-221-1/+4
|
* Initial commit for N3xx development.Martin Braun2017-12-221-0/+69
- Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>