![]() ![]()
On a small, remote device, it may not be desired to handle these messages. It s a -terminated string and should be validated in the same way as the l command above. t (0x74) : Chat message Payload length: variable Payload = string data This represents a text string sent via Win500 s Chat Send function. The client should verify that the last byte of the payload, as determined by the payload length, is really 0x00. If payload length is greater than 1, then the payload is a -terminated ASCII string of text for the log message window. when a new CTCSS value has been detected on a searching channel). This tells the client to erase the last line of the log message window (generally, because a new string will be coming to replace it, e.g. At present, the only valid control flag value is 0xFF. If the payload length is 1, then the payload consists of a single byte indicating a control flag. WIN500 LICENSE KEY WINDOWSl (0圆C) : Log Message Payload length: variable Payload = string data, or special flags This represents text strings or control messages for the log message window as seen in the Win500 Remote Client Windows application. C (0x43) : Server information Payload length: 5 Payload = Flags (bitmap) bit 0: Win500 server allows control of scanner Payload = Win500 s remote protocol version Payload Payload = ģ Payload = D if server instructing client to close the connection f. Should be verified against dwbufferlength field in the WAVEHDR structure. a (0圆1) : Audio samples, uncompressed Payload length : variable, must be deduced from packet s Length value. ![]() A (0x41) : Audio samples, compressed Payload length : variable, must be deduced from packet s Length value. Payload length : 66 Payload = LCD text, top-left to bottom-right Payload = LCD Icons (bitmap) bits 0-2: signal bars, 0-5 bit 3: S bits 4-5: battery Payload = LCD Icons (bitmap) bit 0: F bit 1: G bit 2: A bit 3: T bit 4: bit 5: bit 6: backlight on c. The information below is for a non-310/410 scanner. WIN500 LICENSE KEY HOW TOIt is up to the client app to look at the length field, verify that it indicates a payload of 66 or 82, then decide how much LCD data is present and how to display it. If Win500 is connected to such a scanner, then the payload will be 82 bytes long: 80 bytes of LCD data, with the icons at offsets 80 and 81. WIN500 LICENSE KEY FULLL (0x4C) : LCD Data full Note: Win500 also supports connections to the PSR-310/410 scanners, which have a 5 th line of LCD text. ORed with 0x8000 if on external power Payload = short indicating RSSI value Payload = short indicating zeromatic value Payload = RED LED value Payload = GRN LED valueĢ Payload = BLU LED value Payload = currently-tuned frequency, in Hz Payload = current rx mode: AM=0, FM=1, NFM=2 b. WIN500 LICENSE KEY MANUALS (0x53) : Status Payload length: 16 Payload = current scanner mode: 0: Tune 1: Scan 2: Manual 3: Program 4: Search 5: Weather 9: Sweeper/Stalker Payload = Flags (bitmap) bit 0: squelch open bit 1: audio unmuted bit 2: XF flag bit 3: HD2 flag bit 4: HD5 flag bit 5: set if a mobile/base unit bit 6: set if backlight is in dim mode Payload = short indicating battery level A/D value. short: Checksum: sum of all previous bytes (starting with ) 4. long: Timestamp: sender s millisecond timer, for syncing received packets to real time at receiver d. short: Length: total size of packet, in bytes c. char: Command: value from list of commands below b. Data sent as stream of bytes (packetization is above the transport layer) 3. TCP connection to IP : Port specified in Win500 server b. All multi-byte values are sent little-endian (least-significant byte sent first) 2. ![]() long: 32-bit unsigned value, 0x xFFFFFFFF d. short: 16-bit unsigned value, 0x0000-0xFFFF c. 1 Win500 Remote Control & Monitoring Protocol 1. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |