Discovery protocol

From SmartSDR Wiki
Revision as of 07:56, 26 November 2012 by Stephen Hicks (Talk | contribs) (Created page with "The SL software uses the same discovery broadcast that CDRX series radios uses. This currently runs once per second for an overall bandwidth of 0.162kbps. Here is the forma...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The SL software uses the same discovery broadcast that CDRX series radios uses. This currently runs once per second for an overall bandwidth of 0.162kbps.

Here is the format of the packet:

#define MAX_NAME_LENGTH 32

typedef struct _discovery
{
	// IP to use to contact this radio
	uint32 ip;									// ip address of system
	// Port number for control of this radio
	uint16 port;									// control port we're listening to
	// Number of SCUs in the radio
	uint16 radios;								// number of radios in system
	// Not used for SL radios
	uint32 mask;									// radio present mask
	uint32 model_len;
char model[MAX_NAME_LENGTH];					
// model number
	uint32 serial_len;
char serial[MAX_NAME_LENGTH];					
// serial number
	uint32 name_len;
	char name[MAX_NAME_LENGTH];						// system name
} discovery_type, *DISCOVERY;