Paul,
The soapy driver for radioberry is a very basic version. Supporting only 48K sampling rate and only RX.
It is there to support openwebrx (see wiki)
Also pihpsdr compiled with soapy you can have the RX mode.
I decided some time ago to make a variant gateware of HL-2.
The gateware is following the protocol as described at:
In the implementation of this gateware and the driver i added an additional byte for specific rb control info.
see the frimware:
void send_control(unsigned char command) {
....
// if temperature could not be measured the pa is disabled
rb_info.rb_command = ( (pa_temp_ok ? 0x04 : 0x00) | ((CWX << 1) & 0x02) | (running & 0x01) );
rb_info.command = command;
rb_info.command_data = command_data;
//fprintf(stderr, "RB-Command = %02X Command = %02X command_data = %08X\n", rb_info.rb_command, command, command_data);
Hope this helps.
73 Johan
PA3GSB