MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / network_publish_rig_poll_data

Function network_publish_rig_poll_data

src/network.c:833–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833int network_publish_rig_poll_data(RIG *rig)
834{
835 const struct rig_state *rs = STATE(rig);
836 int result;
837 multicast_publisher_data_packet packet =
838 {
839 .type = MULTICAST_PUBLISHER_DATA_PACKET_TYPE_POLL,
840 .padding = 0,
841 .data_length = 0,
842 };
843
844 if (rs->multicast_publisher_priv_data == NULL)
845 {
846 // Silently ignore call if multicast publisher is not enabled
847 return RIG_OK;
848 }
849
850 multicast_publisher_write_lock(rig);
851 result = multicast_publisher_write_packet_header(rig, &packet);
852 multicast_publisher_write_unlock(rig);
853 return result;
854}
855
856int network_publish_rig_transceive_data(RIG *rig)
857{

Callers 3

rig_poll_routineFunction · 0.85
rig_poll_routine_startFunction · 0.85
rig_poll_routine_stopFunction · 0.85

Tested by

no test coverage detected