Band 5 Down converter simulator
Functional Overview
The Band 5 down converter (B5dc) simulator implements a UDP server that models the interface behaviour of the B5dc hardware device.
The simulator models the functionality of the B5dc device by creating an internal dictionary modeling the B5dc register bank. This register bank is accessible via a UDP client implementing the down converter protocol (DCP) to enable reading and writing the values of the virtual registers as can be done against the B5dc hardware device
The virtual register addresses map to those parsed from the interface file (ICD).
Testing of error handling using the B5dc simulator
To enable testing of error conditions on making requests to the B5dc simulator an additional register, called the testing register, has been added outside of the address space of the registers as defined in the ICD.
The testing register can be addressed at the address 0x80000, where the virtual register value is readable/writeable. By setting the value of the testing register, the developer can configure the band 5 down converter response to DCP request packets as tabulated below;
Testing register value |
B5dc response |
|---|---|
0 (Default) |
Register read/write requests are executed as normal/ICD |
1 |
Register read/write requests return B5dcErrorCode.FAILED for all register in the ICD address space. Register read/write requests are executed normally for all requests made addressing the testing register |
2 |
Register read/write requests return B5dcErrorCode.NETWORK for all register in the ICD address space. Register read/write requests are executed normally for all requests made addressing the testing register |